Skip to content
Snippets Groups Projects
Commit 221644c3 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #28351: mainbuffertest: use unique_ptr instead of shared_ptr

parent 88a43a93
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
#include <cppunit/TestCase.h> #include <cppunit/TestCase.h>
#include <cppunit/TestSuite.h> #include <cppunit/TestSuite.h>
#include <tr1/memory> #include <memory>
class MainBuffer; class MainBuffer;
/* /*
...@@ -103,7 +103,7 @@ class MainBufferTest : public CppUnit::TestCase { ...@@ -103,7 +103,7 @@ class MainBufferTest : public CppUnit::TestCase {
private: private:
std::tr1::shared_ptr<MainBuffer> mainbuffer_; std::unique_ptr<MainBuffer> mainbuffer_;
}; };
/* Register our test module */ /* Register our test module */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment