Skip to content

Commit c5023af

Browse files
committed
Remove uses of boost::is_convertible
1 parent 7cfc326 commit c5023af

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

test/lsp_convertible_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <boost/shared_ptr.hpp>
1313
#include <boost/weak_ptr.hpp>
1414
#include <boost/core/lightweight_test.hpp>
15-
#include <boost/type_traits/is_convertible.hpp>
15+
#include <type_traits>
1616

1717
//
1818

@@ -26,7 +26,7 @@ class D: public B
2626
{
2727
};
2828

29-
using boost::is_convertible;
29+
using std::is_convertible;
3030

3131
#define TEST_CV_TRUE_( S1, T, S2, U ) \
3232
BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \

test/lsp_convertible_test2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <boost/shared_ptr.hpp>
1313
#include <boost/weak_ptr.hpp>
1414
#include <boost/core/lightweight_test.hpp>
15-
#include <boost/type_traits/is_convertible.hpp>
15+
#include <type_traits>
1616

1717
//
1818

@@ -26,7 +26,7 @@ class D: public B
2626
{
2727
};
2828

29-
using boost::is_convertible;
29+
using std::is_convertible;
3030

3131
#define TEST_CV_TRUE_( S1, T, S2, U ) \
3232
BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \

test/sp_convertible_test2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <boost/shared_ptr.hpp>
1212
#include <boost/weak_ptr.hpp>
1313
#include <boost/core/lightweight_test.hpp>
14-
#include <boost/type_traits/is_convertible.hpp>
14+
#include <type_traits>
1515

1616
//
1717

@@ -25,7 +25,7 @@ class D: public B
2525
{
2626
};
2727

28-
using boost::is_convertible;
28+
using std::is_convertible;
2929

3030
#define TEST_CV_TRUE_( S1, T, S2, U ) \
3131
BOOST_TEST(( is_convertible< S1<T>, S2<U> >::value == true )); \

0 commit comments

Comments
 (0)