Add const qualifier for base_uint::size()
authorCryptoManiac <balthazar@yandex.ru>
Tue, 12 Apr 2016 18:22:31 +0000 (21:22 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Tue, 12 Apr 2016 18:22:31 +0000 (21:22 +0300)
src/uint256.h

index 82fd5ce..114ef89 100644 (file)
@@ -360,7 +360,7 @@ public:
         return std::vector<unsigned char>(begin(), end());
     }
 
-    size_t size()
+    size_t size() const
     {
         return sizeof(pn);
     }