summaryrefslogtreecommitdiff
path: root/boost/ptr_container/ptr_unordered_set.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/ptr_container/ptr_unordered_set.hpp')
-rw-r--r--boost/ptr_container/ptr_unordered_set.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/ptr_container/ptr_unordered_set.hpp b/boost/ptr_container/ptr_unordered_set.hpp
index 90f1c60e23..6660722595 100644
--- a/boost/ptr_container/ptr_unordered_set.hpp
+++ b/boost/ptr_container/ptr_unordered_set.hpp
@@ -18,8 +18,14 @@
#include <boost/ptr_container/indirect_fun.hpp>
#include <boost/ptr_container/ptr_set_adapter.hpp>
+#include <boost/ptr_container/detail/ptr_container_disable_deprecated.hpp>
#include <boost/unordered_set.hpp>
+#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
+
namespace boost
{
@@ -239,4 +245,8 @@ namespace boost
}
+#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED)
+#pragma GCC diagnostic pop
+#endif
+
#endif