Commit 221644c3 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #28351: mainbuffertest: use unique_ptr instead of shared_ptr

parent 88a43a93
...@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment