Check BOOST_NO_CXX11_RVALUE_REFERENCES in tests that use std::unique_ptr.

This commit is contained in:
Peter Dimov committed 2014-05-15 18:51:27 +03:00
1 parent d523c3423e
commit ed2eaddc5d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@
#include <memory>
#include <utility>
#if !defined( BOOST_NO_CXX11_SMART_PTR )
#if !defined( BOOST_NO_CXX11_SMART_PTR ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
struct X: public boost::enable_shared_from_this< X >
{
@@ -229,7 +229,7 @@ int main()
return boost::report_errors();
}
#else // !defined( BOOST_NO_CXX11_SMART_PTR )
#else // !defined( BOOST_NO_CXX11_SMART_PTR ) && !defined( BOOST_NO_CXX11_RVALUE_REFERENCES )
int main()
{