summaryrefslogtreecommitdiff
path: root/boost/ptr_container/ptr_deque.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/ptr_container/ptr_deque.hpp')
-rw-r--r--boost/ptr_container/ptr_deque.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/ptr_container/ptr_deque.hpp b/boost/ptr_container/ptr_deque.hpp
index 8673962307..2278183271 100644
--- a/boost/ptr_container/ptr_deque.hpp
+++ b/boost/ptr_container/ptr_deque.hpp
@@ -18,6 +18,12 @@
#include <deque>
#include <boost/ptr_container/ptr_sequence_adapter.hpp>
+#include <boost/ptr_container/detail/ptr_container_disable_deprecated.hpp>
+
+#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED)
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+#endif
namespace boost
{
@@ -66,4 +72,8 @@ namespace boost
}
}
+#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED)
+#pragma GCC diagnostic pop
+#endif
+
#endif