summaryrefslogtreecommitdiff
path: root/examples/msvc6/HostApp/ExampleTestCase.cpp
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-15 12:01:36 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-12-15 12:01:36 +0100
commitff6ce1d7c00be2279f905b2f08cbbd67fa239ae7 (patch)
tree65d64765acb2a6e18880ef2953a73a2c36e4086c /examples/msvc6/HostApp/ExampleTestCase.cpp
parent9e22a4f7c7794ab1cbd808058c13356f38ed632a (diff)
downloadcppunit-ff6ce1d7c00be2279f905b2f08cbbd67fa239ae7.tar.gz
we no longer need a wrapper for the smart pointer case
Diffstat (limited to 'examples/msvc6/HostApp/ExampleTestCase.cpp')
-rw-r--r--examples/msvc6/HostApp/ExampleTestCase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/msvc6/HostApp/ExampleTestCase.cpp b/examples/msvc6/HostApp/ExampleTestCase.cpp
index 727fd30..85aa468 100644
--- a/examples/msvc6/HostApp/ExampleTestCase.cpp
+++ b/examples/msvc6/HostApp/ExampleTestCase.cpp
@@ -1,5 +1,5 @@
#include "ExampleTestCase.h"
-#include <cppunit/portability/SmartPtr.h>
+#include <memory>
CPPUNIT_TEST_SUITE_REGISTRATION( ExampleTestCase );
@@ -32,8 +32,8 @@ void ExampleTestCase::testAdd ()
void ExampleTestCase::testEquals ()
{
- CppUnitSmartPtr<long> l1 (new long (12));
- CppUnitSmartPtr<long> l2 (new long (12));
+ std::unique_ptr<long> l1 (new long (12));
+ std::unique_ptr<long> l2 (new long (12));
CPPUNIT_ASSERT_EQUAL (12, 12);
CPPUNIT_ASSERT_EQUAL (12L, 12L);