From ff6e90a7204f8fee12142288f0d55bb271486269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Fri, 29 Aug 2014 12:54:45 +0200 Subject: [PATCH] Removed incorrect deprecated function warning macros in MSVC compilers. --- include/boost/container/detail/config_begin.hpp | 8 -------- include/boost/container/detail/config_end.hpp | 8 -------- 2 files changed, 16 deletions(-) diff --git a/include/boost/container/detail/config_begin.hpp b/include/boost/container/detail/config_begin.hpp index 6c54bef..7601ca2 100644 --- a/include/boost/container/detail/config_begin.hpp +++ b/include/boost/container/detail/config_begin.hpp @@ -14,14 +14,6 @@ #endif //BOOST_CONTAINER_CONTAINER_DETAIL_CONFIG_INCLUDED #ifdef BOOST_MSVC - #ifndef _CRT_SECURE_NO_DEPRECATE - #define BOOST_CONTAINER_DETAIL_CRT_SECURE_NO_DEPRECATE - #define _CRT_SECURE_NO_DEPRECATE - #endif - #ifndef _SCL_SECURE_NO_WARNINGS - #define BOOST_CONTAINER_DETAIL_SCL_SECURE_NO_WARNINGS - #define _SCL_SECURE_NO_WARNINGS - #endif #pragma warning (push) #pragma warning (disable : 4702) // unreachable code #pragma warning (disable : 4706) // assignment within conditional expression diff --git a/include/boost/container/detail/config_end.hpp b/include/boost/container/detail/config_end.hpp index 7217019..f93c8f6 100644 --- a/include/boost/container/detail/config_end.hpp +++ b/include/boost/container/detail/config_end.hpp @@ -9,13 +9,5 @@ ////////////////////////////////////////////////////////////////////////////// #if defined BOOST_MSVC #pragma warning (pop) - #ifdef BOOST_CONTAINER_DETAIL_CRT_SECURE_NO_DEPRECATE - #undef BOOST_CONTAINER_DETAIL_CRT_SECURE_NO_DEPRECATE - #undef _CRT_SECURE_NO_DEPRECATE - #endif - #ifdef BOOST_CONTAINER_DETAIL_SCL_SECURE_NO_WARNINGS - #undef BOOST_CONTAINER_DETAIL_SCL_SECURE_NO_WARNINGS - #undef _SCL_SECURE_NO_WARNINGS - #endif #endif