mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-10-17 01:45:25 +02:00
Remove uses of BOOST_NO_CXX11_SMART_PTR
This commit is contained in:
@@ -5,12 +5,9 @@ Copyright 2019 Glen Joseph Fernandes
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(http://www.boost.org/LICENSE_1_0.txt)
|
||||
*/
|
||||
#include <boost/config.hpp>
|
||||
#if (!defined(BOOST_LIBSTDCXX_VERSION) || \
|
||||
BOOST_LIBSTDCXX_VERSION >= 48000) && \
|
||||
!defined(BOOST_NO_CXX11_SMART_PTR)
|
||||
#include <boost/smart_ptr/allocate_unique.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <boost/config.hpp>
|
||||
|
||||
template<class T = void>
|
||||
struct creator {
|
||||
@@ -124,9 +121,3 @@ int main()
|
||||
}
|
||||
return boost::report_errors();
|
||||
}
|
||||
#else
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user