From 22b4aae0284511e9a6a957197dae237a1799aa20 Mon Sep 17 00:00:00 2001 From: Karl-Johan Alm Date: Wed, 28 Feb 2018 19:59:19 +0900 Subject: [PATCH] [arith_uint256] Avoid unnecessary this-copy using prefix operator --- src/arith_uint256.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arith_uint256.h b/src/arith_uint256.h index dc2627592e6..3f4cc8c2bf7 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; }