projects
/
libcds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed some CppCheck warnings in new HP and DHP implementations
[libcds.git]
/
cds
/
gc
/
details
/
hp_common.h
diff --git
a/cds/gc/details/hp_common.h
b/cds/gc/details/hp_common.h
index bfdccefa012c97828fcb6d19036f021845658ec3..be180677bfa2415014474019026bb35a33249807 100644
(file)
--- a/
cds/gc/details/hp_common.h
+++ b/
cds/gc/details/hp_common.h
@@
-123,7
+123,7
@@
namespace cds { namespace gc { namespace hp { namespace common {
: arr_{ nullptr }
{}
- constexpr size_t capacity() const
+ static constexpr size_t capacity()
{
return c_nCapacity;
}