projects
/
libcds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af81a44
)
Fixed gcc warning
author
khizmax
<libcds.dev@gmail.com>
Sun, 13 Nov 2016 19:32:35 +0000
(22:32 +0300)
committer
khizmax
<libcds.dev@gmail.com>
Sun, 13 Nov 2016 19:32:35 +0000
(22:32 +0300)
cds/intrusive/details/feldman_hashset_base.h
patch
|
blob
|
history
diff --git
a/cds/intrusive/details/feldman_hashset_base.h
b/cds/intrusive/details/feldman_hashset_base.h
index 0cd2f7aab9956c071bbc8d5bdcf9b80c1c6e3844..ee40640e3aa59051391a4aa092756224fa3ed032 100644
(file)
--- a/
cds/intrusive/details/feldman_hashset_base.h
+++ b/
cds/intrusive/details/feldman_hashset_base.h
@@
-402,7
+402,7
@@
namespace cds { namespace intrusive {
>::type hash_comparator;
/// The size of hash_type in bytes, see \p traits::hash_size for explanation
- static CDS_CONSTEXPR size_t const c_hash_size = traits::hash_size == 0 ? sizeof( hash_type ) :
traits::hash_size
;
+ static CDS_CONSTEXPR size_t const c_hash_size = traits::hash_size == 0 ? sizeof( hash_type ) :
static_cast<size_t>( traits::hash_size )
;
typedef feldman_hashset::details::hash_splitter< hash_type, c_hash_size > hash_splitter;