Suppress a windows warning

This commit is contained in:
Jean Pierre Cimalando 2020-02-02 21:30:26 +01:00
parent e975b35a93
commit 49c6390875

View file

@ -7,7 +7,9 @@
#pragma once #pragma once
#ifdef _WIN32 #ifdef _WIN32
// There's a spurious min/max function in MSVC that makes everything go badly... // There's a spurious min/max function in MSVC that makes everything go badly...
#define NOMINMAX #ifndef NOMINMAX
#define NOMINMAX 1
#endif
#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING #define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
#endif #endif
#include <cstddef> #include <cstddef>