git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
It's a c++: use string.clear()
[novacoin.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index
c8ae742
..
62f26fd
100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-523,7
+523,7
@@
public:
T median() const
{
- int size = vSorted.size();
+ size_t size = vSorted.size();
assert(size>0);
if(size & 1) // Odd number of elements
{