Skip to content

Commit 22b4aae

Browse files
committed
[arith_uint256] Avoid unnecessary this-copy using prefix operator
1 parent bf3353d commit 22b4aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arith_uint256.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class base_uint
8585
base_uint ret;
8686
for (int i = 0; i < WIDTH; i++)
8787
ret.pn[i] = ~pn[i];
88-
ret++;
88+
++ret;
8989
return ret;
9090
}
9191

0 commit comments

Comments
 (0)