diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-07-24 23:59:50 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-07-24 23:59:50 +0000 |
commit | 1dba445e433aea5bb188e424650c912f620ad341 (patch) | |
tree | 32651979841f58f4124a58dac55af017408efec0 /libcxx/include/ext | |
parent | 520a61383c467015635011d7e504850f7f9a1c8c (diff) | |
download | bcm5719-llvm-1dba445e433aea5bb188e424650c912f620ad341.tar.gz bcm5719-llvm-1dba445e433aea5bb188e424650c912f620ad341.zip |
http://llvm.org/bugs/show_bug.cgi?id=10469
llvm-svn: 135897
Diffstat (limited to 'libcxx/include/ext')
-rw-r--r-- | libcxx/include/ext/hash_map | 2 | ||||
-rw-r--r-- | libcxx/include/ext/hash_set | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/ext/hash_map b/libcxx/include/ext/hash_map index 49c8d11c491..b74540be7f4 100644 --- a/libcxx/include/ext/hash_map +++ b/libcxx/include/ext/hash_map @@ -204,7 +204,9 @@ template <class Key, class T, class Hash, class Pred, class Alloc> #include <functional> #include <stdexcept> +#if __DEPRECATED #warning Use of the header <ext/hash_map> is deprecated. Migrate to <unordered_map> +#endif #pragma GCC system_header diff --git a/libcxx/include/ext/hash_set b/libcxx/include/ext/hash_set index e205db81caa..e20fd41e6fd 100644 --- a/libcxx/include/ext/hash_set +++ b/libcxx/include/ext/hash_set @@ -197,7 +197,9 @@ template <class Value, class Hash, class Pred, class Alloc> #include <__hash_table> #include <functional> +#if __DEPRECATED #warning Use of the header <ext/hash_set> is deprecated. Migrate to <unordered_set> +#endif namespace __gnu_cxx { |