mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-30 09:00:38 +08:00
cleanup more warnings with MSVC
This commit is contained in:
Vendored
+9
@@ -50,6 +50,11 @@
|
||||
#include <cstdint>
|
||||
#include "phmap_config.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4514) // unreferenced inline function has been removed
|
||||
#endif
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// unaligned APIs
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -651,4 +656,8 @@ inline void Store64(void *p, uint64_t v) {
|
||||
|
||||
} // namespace phmap
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#endif // phmap_bits_h_guard_
|
||||
|
||||
Reference in New Issue
Block a user