diff options
Diffstat (limited to 'boost/ptr_container/ptr_unordered_map.hpp')
-rw-r--r-- | boost/ptr_container/ptr_unordered_map.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/boost/ptr_container/ptr_unordered_map.hpp b/boost/ptr_container/ptr_unordered_map.hpp index e6d5e7d5ba..dc90cd8c5b 100644 --- a/boost/ptr_container/ptr_unordered_map.hpp +++ b/boost/ptr_container/ptr_unordered_map.hpp @@ -18,6 +18,12 @@ #include <boost/unordered_map.hpp> #include <boost/ptr_container/ptr_map_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 { @@ -248,4 +254,8 @@ namespace boost } +#if defined(BOOST_PTR_CONTAINER_DISABLE_DEPRECATED) +#pragma GCC diagnostic pop +#endif + #endif |