Skip to content

Commit c337bbf

Browse files
authored
Merge pull request #5215 from wilzbach/fix-circleci2
Fix CircleCi: auto functions that return null should be void
2 parents b22acef + 427bcb9 commit c337bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/experimental/checkedint.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,12 +2974,12 @@ version(unittest) private struct CountOpBinary
29742974
static struct Hook2
29752975
{
29762976
uint calls;
2977-
auto hookOpUnary(string op, T)(ref T value) if (op == "++")
2977+
void hookOpUnary(string op, T)(ref T value) if (op == "++")
29782978
{
29792979
++calls;
29802980
--value;
29812981
}
2982-
auto hookOpUnary(string op, T)(ref T value) if (op == "--")
2982+
void hookOpUnary(string op, T)(ref T value) if (op == "--")
29832983
{
29842984
++calls;
29852985
++value;

0 commit comments

Comments
 (0)