We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4ff0ff commit 4e2ae09Copy full SHA for 4e2ae09
test/FileSystemTest.cpp
@@ -3,17 +3,17 @@
3
4
#include "../src/CopyDevice.h"
5
6
-using std::unique_ptr;
7
-using std::make_unique;
+using cpputils::unique_ref;
+using cpputils::make_unique_ref;
8
9
using fspp::Device;
10
11
using namespace copyfs;
12
13
class CopyFsTestFixture: public FileSystemTestFixture {
14
public:
15
- unique_ptr<Device> createDevice() override {
16
- return make_unique<CopyDevice>(rootDir.path());
+ unique_ref<Device> createDevice() override {
+ return make_unique_ref<CopyDevice>(rootDir.path());
17
}
18
19
cpputils::TempDir rootDir;
0 commit comments