diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:31 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-16 19:47:31 +0000 |
| commit | 7582e3938bb9fb3e4664efdfb2313df29f27b70b (patch) | |
| tree | 65bec6df3984fb0b437488fd86eb1359e9c84af4 /include/ext | |
| parent | 733153a0fb52facba02c550ec849f0c734dfa412 (diff) | |
Notes
Diffstat (limited to 'include/ext')
| -rw-r--r-- | include/ext/hash_map | 2 | ||||
| -rw-r--r-- | include/ext/hash_set | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/ext/hash_map b/include/ext/hash_map index 66f2b11c05949..998e8f65994ee 100644 --- a/include/ext/hash_map +++ b/include/ext/hash_map @@ -207,7 +207,7 @@ template <class Key, class T, class Hash, class Pred, class Alloc> #include <ext/__hash> #if __DEPRECATED -#if defined(_LIBCPP_MSVC) +#if defined(_LIBCPP_WARNING) _LIBCPP_WARNING("Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map>") #else # warning Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> diff --git a/include/ext/hash_set b/include/ext/hash_set index 916ed6910d7d9..38f81ed3b5c86 100644 --- a/include/ext/hash_set +++ b/include/ext/hash_set @@ -199,7 +199,7 @@ template <class Value, class Hash, class Pred, class Alloc> #include <ext/__hash> #if __DEPRECATED -#if defined(_LIBCPP_MSVC) +#if defined(_LIBCPP_WARNING) _LIBCPP_WARNING("Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set>") #else # warning Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set> |
