mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
enable warning level for for tests (msvc) and cleanup some warnings.
This commit is contained in:
Vendored
+11
@@ -11,6 +11,13 @@
|
||||
// https://www.apache.org/licenses/LICENSE-2.0
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4514) // unreferenced inline function has been removed
|
||||
#pragma warning(disable : 4710) // function not inlined
|
||||
#pragma warning(disable : 4711) // selected for automatic inline expansion
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <functional>
|
||||
@@ -140,4 +147,8 @@ namespace phmap {
|
||||
} // namespace phmap
|
||||
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
#endif // phmap_fwd_decl_h_guard_
|
||||
|
||||
Reference in New Issue
Block a user