File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 9
9
#include <yvals_core.h>
10
10
#if _STL_COMPILER_PREPROCESSOR
11
11
#include <cmath>
12
- #include <cstring>
13
- #include <cwchar>
14
12
#include <list>
15
13
#include <tuple>
16
14
#include <vector>
17
15
#include <xbit_ops.h>
16
+
17
+ #ifdef _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
18
+ #include <cstring>
19
+ #include <cwchar>
18
20
#include <xstring>
21
+ #endif // _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
19
22
20
23
#if _HAS_CXX17
21
24
#include <xnode_handle.h>
@@ -28,6 +31,7 @@ _STL_DISABLE_CLANG_WARNINGS
28
31
#pragma push_macro("new")
29
32
#undef new
30
33
34
+ #ifdef _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
31
35
namespace stdext {
32
36
using _STD basic_string;
33
37
using _STD less;
@@ -86,10 +90,9 @@ namespace stdext {
86
90
_Pr comp{}; // the comparator object
87
91
};
88
92
} // namespace stdext
93
+ #endif // _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
89
94
90
95
_STD_BEGIN
91
- using stdext::hash_compare; // TRANSITION, protobuf used this until v3.7.0, released Feb 28, 2019
92
-
93
96
template <class _Kty, class _Hasher, class _Keyeq, class = void>
94
97
struct _Uhash_choose_transparency {
95
98
// transparency selector for non-transparent hashed containers
You can’t perform that action at this time.
0 commit comments