diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-05-06 22:44:21 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-06 23:37:09 +0200 |
commit | 1a6a475089c740f7343572f404f0a45d21484a13 (patch) | |
tree | 24a6d87bdca613a332bab8459378c3683ed19c71 /cppu/qa | |
parent | 7a2afb2d7776db26e133c6c18bf9715eb43bf4dd (diff) |
cppu: replace boost::is_same with std::is_same
Change-Id: I7014737403da4b53b83488d17399b1c214b7a5db
Diffstat (limited to 'cppu/qa')
-rw-r--r-- | cppu/qa/test_any.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx index 233362c1c5a3..6122737675a3 100644 --- a/cppu/qa/test_any.cxx +++ b/cppu/qa/test_any.cxx @@ -20,6 +20,7 @@ #include <sal/types.h> #include <stdlib.h> +#include <type_traits> #include <cppunit/TestSuite.h> #include <cppunit/TestFixture.h> @@ -43,7 +44,6 @@ #include "Struct2.hpp" #include "Struct2a.hpp" #include "Struct2b.hpp" -#include "boost/type_traits/is_same.hpp" #include "com/sun/star/uno/Any.hxx" #include "com/sun/star/uno/Reference.hxx" #include "com/sun/star/uno/RuntimeException.hpp" @@ -455,7 +455,7 @@ void Test::testByte() { } { sal_Unicode b = '2'; - if (boost::is_same< sal_Unicode, sal_uInt16 >::value) { + if (std::is_same< sal_Unicode, sal_uInt16 >::value) { CPPUNIT_ASSERT_MESSAGE("@sal_Unicode", (a >>= b) && b == 1); } else { CPPUNIT_ASSERT_MESSAGE("sal_Unicode", !(a >>= b) && b == '2'); @@ -550,7 +550,7 @@ void Test::testShort() { } { sal_Unicode b = '2'; - if (boost::is_same< sal_Unicode, sal_uInt16 >::value) { + if (std::is_same< sal_Unicode, sal_uInt16 >::value) { CPPUNIT_ASSERT_MESSAGE("@sal_Unicode", (a >>= b) && b == 1); } else { CPPUNIT_ASSERT_MESSAGE("sal_Unicode", !(a >>= b) && b == '2'); @@ -647,7 +647,7 @@ void Test::testUnsignedShort() { } { sal_Unicode b = '2'; - if (boost::is_same< sal_Unicode, sal_uInt16 >::value) { + if (std::is_same< sal_Unicode, sal_uInt16 >::value) { CPPUNIT_ASSERT_MESSAGE("@sal_Unicode", (a >>= b) && b == 1); } else { CPPUNIT_ASSERT_MESSAGE("sal_Unicode", !(a >>= b) && b == '2'); @@ -1289,7 +1289,7 @@ void Test::testChar() { } { sal_Unicode b = '2'; - if (boost::is_same< sal_Unicode, sal_uInt16 >::value) { + if (std::is_same< sal_Unicode, sal_uInt16 >::value) { CPPUNIT_ASSERT_MESSAGE("@sal_Unicode", !(a >>= b) && b == '2'); } else { CPPUNIT_ASSERT_MESSAGE("sal_Unicode", (a >>= b) && b == '1'); |