From fb417474ae6c71413ff285596bbeb8b8e551db34 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 22 Apr 2019 17:28:31 +0300 Subject: [PATCH] Mark detail/sp_typeinfo.hpp as deprecated --- include/boost/detail/sp_typeinfo.hpp | 3 +++ test/quick.cpp | 1 - test/sp_typeinfo_test.cpp | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/boost/detail/sp_typeinfo.hpp b/include/boost/detail/sp_typeinfo.hpp index 4e4de55..bec228f 100644 --- a/include/boost/detail/sp_typeinfo.hpp +++ b/include/boost/detail/sp_typeinfo.hpp @@ -18,6 +18,9 @@ // http://www.boost.org/LICENSE_1_0.txt) #include +#include + +BOOST_HEADER_DEPRECATED( "" ) namespace boost { diff --git a/test/quick.cpp b/test/quick.cpp index c043f69..7f266c3 100644 --- a/test/quick.cpp +++ b/test/quick.cpp @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include diff --git a/test/sp_typeinfo_test.cpp b/test/sp_typeinfo_test.cpp index e29e576..ae98c2c 100644 --- a/test/sp_typeinfo_test.cpp +++ b/test/sp_typeinfo_test.cpp @@ -8,6 +8,8 @@ // http://www.boost.org/LICENSE_1_0.txt // +#define BOOST_ALLOW_DEPRECATED_HEADERS + #include #include #include