summaryrefslogtreecommitdiffstats
path: root/tests/ingen_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-14 22:14:40 +0100
committerDavid Robillard <d@drobilla.net>2020-12-15 00:44:01 +0100
commit8c854bd336b45db17b48c2101fb2846f84726cdc (patch)
treef36e7f2f6c0f1785545360e3b0fcadcc97b55a3d /tests/ingen_test.cpp
parent760035180c1adeb060f1b68a211ba5dd683caddf (diff)
downloadingen-8c854bd336b45db17b48c2101fb2846f84726cdc.tar.gz
ingen-8c854bd336b45db17b48c2101fb2846f84726cdc.tar.bz2
ingen-8c854bd336b45db17b48c2101fb2846f84726cdc.zip
Clean up includes in core and server
Diffstat (limited to 'tests/ingen_test.cpp')
-rw-r--r--tests/ingen_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index 711a9ab7..eaa6a0ab 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -41,7 +41,9 @@
#include <chrono>
#include <cstdint>
#include <cstdlib>
+#include <exception>
#include <iostream>
+#include <map>
#include <memory>
#include <string>
#include <utility>
@@ -65,7 +67,8 @@ ingen_try(bool cond, const char* msg)
FilePath
real_file_path(const char* path)
{
- std::unique_ptr<char, FreeDeleter<char>> real_path{realpath(path, nullptr)};
+ std::unique_ptr<char, FreeDeleter<char>> real_path{realpath(path, nullptr),
+ FreeDeleter<char>{}};
return FilePath{real_path.get()};
}