summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-02 13:43:01 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 13:43:49 +0200
commit019eeff6a7d051427ad62a288f350e66471a0462 (patch)
treee43854a6241ba52f244ce75aa8d500849968d4d4 /tests
parent7eae940654c8c81c1efc8a055a13c53fab42bf91 (diff)
downloadingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.gz
ingen-019eeff6a7d051427ad62a288f350e66471a0462.tar.bz2
ingen-019eeff6a7d051427ad62a288f350e66471a0462.zip
Remove std::unique_ptr alias
Diffstat (limited to 'tests')
-rw-r--r--tests/ingen_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index fbcc5cc0..5634f513 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -45,6 +45,7 @@
#include <cstdint>
#include <cstdlib>
#include <iostream>
+#include <memory>
#include <string>
#include <utility>
@@ -66,7 +67,7 @@ ingen_try(bool cond, const char* msg)
static FilePath
real_file_path(const char* path)
{
- UPtr<char, FreeDeleter<char>> real_path{realpath(path, nullptr)};
+ std::unique_ptr<char, FreeDeleter<char>> real_path{realpath(path, nullptr)};
return FilePath{real_path.get()};
}