Remove uses of boost::remove_reference

This commit is contained in:
Peter Dimov
2024-10-06 18:44:04 +03:00
parent 6b7effc83d
commit 7cfc326207
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -11,9 +11,9 @@
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/type_traits/remove_reference.hpp>
#include <memory>
#include <utility>
#include <type_traits>
struct X: public boost::enable_shared_from_this< X >
{
@@ -87,7 +87,7 @@ template<class U, class T, class D> static void test_null_unique_ptr( std::uniqu
BOOST_TEST( sp.get() == 0 );
BOOST_TEST( sp.use_count() == 0 );
sp.reset( new T, typename boost::remove_reference<D>::type() );
sp.reset( new T, typename std::remove_reference<D>::type() );
BOOST_TEST( sp.get() != 0 );
BOOST_TEST( sp.use_count() == 1 );