aboutsummaryrefslogtreecommitdiff
path: root/src/arith_uint256.h
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-02-28 19:59:19 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2018-02-28 19:59:19 +0900
commit22b4aae0284511e9a6a957197dae237a1799aa20 (patch)
tree999ddb89909306ec02a16d4e33975d6ec112297b /src/arith_uint256.h
parentbf3353de90598f08a68d966c50b57ceaeb5b5d96 (diff)
downloadbitcoin-22b4aae0284511e9a6a957197dae237a1799aa20.tar.xz
[arith_uint256] Avoid unnecessary this-copy using prefix operator
Diffstat (limited to 'src/arith_uint256.h')
-rw-r--r--src/arith_uint256.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arith_uint256.h b/src/arith_uint256.h
index dc2627592e..3f4cc8c2bf 100644
--- a/src/arith_uint256.h
+++ b/src/arith_uint256.h
@@ -85,7 +85,7 @@ public:
base_uint ret;
for (int i = 0; i < WIDTH; i++)
ret.pn[i] = ~pn[i];
- ret++;
+ ++ret;
return ret;
}