Skip to content

Commit 4e2ae09

Browse files
committed
Migrate to unique_ref
1 parent e4ff0ff commit 4e2ae09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/FileSystemTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
#include "../src/CopyDevice.h"
55

6-
using std::unique_ptr;
7-
using std::make_unique;
6+
using cpputils::unique_ref;
7+
using cpputils::make_unique_ref;
88

99
using fspp::Device;
1010

1111
using namespace copyfs;
1212

1313
class CopyFsTestFixture: public FileSystemTestFixture {
1414
public:
15-
unique_ptr<Device> createDevice() override {
16-
return make_unique<CopyDevice>(rootDir.path());
15+
unique_ref<Device> createDevice() override {
16+
return make_unique_ref<CopyDevice>(rootDir.path());
1717
}
1818

1919
cpputils::TempDir rootDir;

0 commit comments

Comments
 (0)