We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b22acef + 427bcb9 commit c337bbfCopy full SHA for c337bbf
std/experimental/checkedint.d
@@ -2974,12 +2974,12 @@ version(unittest) private struct CountOpBinary
2974
static struct Hook2
2975
{
2976
uint calls;
2977
- auto hookOpUnary(string op, T)(ref T value) if (op == "++")
+ void hookOpUnary(string op, T)(ref T value) if (op == "++")
2978
2979
++calls;
2980
--value;
2981
}
2982
- auto hookOpUnary(string op, T)(ref T value) if (op == "--")
+ void hookOpUnary(string op, T)(ref T value) if (op == "--")
2983
2984
2985
++value;
0 commit comments