git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2604411
)
Add const qualifier for base_uint::size()
author
CryptoManiac
<balthazar@yandex.ru>
Tue, 12 Apr 2016 18:22:31 +0000 (21:22 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Tue, 12 Apr 2016 18:22:31 +0000 (21:22 +0300)
src/uint256.h
patch
|
blob
|
history
diff --git
a/src/uint256.h
b/src/uint256.h
index
82fd5ce
..
114ef89
100644
(file)
--- a/
src/uint256.h
+++ b/
src/uint256.h
@@
-360,7
+360,7
@@
public:
return std::vector<unsigned char>(begin(), end());
}
- size_t size()
+ size_t size() const
{
return sizeof(pn);
}