cleanup compilation warnings with msvc.

This commit is contained in:
greg
2020-10-23 23:01:02 -04:00
parent 6ab2d4f77b
commit 7a96119c37
2 changed files with 8 additions and 3 deletions
+3 -2
View File
@@ -62,10 +62,11 @@ public:
uint64_t operator()(uint64_t boundExcluded) noexcept {
#ifdef PHMAP_HAS_UMUL128
uint64_t h;
uint64_t l = umul128(operator()(), boundExcluded, &h);
(void)umul128(operator()(), boundExcluded, &h);
return h;
#else
return 0;
#endif
return 0;
}
std::array<uint64_t, 4> state() const {