summaryrefslogtreecommitdiffstats
path: root/include/ingen/filesystem.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/ingen/filesystem.hpp')
-rw-r--r--include/ingen/filesystem.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ingen/filesystem.hpp b/include/ingen/filesystem.hpp
index 5e64cc8c..5a90e7b7 100644
--- a/include/ingen/filesystem.hpp
+++ b/include/ingen/filesystem.hpp
@@ -75,7 +75,7 @@ inline FilePath current_path()
std::unique_ptr<char, Freer> cpath(realpath(".", nullptr));
- return FilePath(cpath.get());
+ return {cpath.get()};
}
} // namespace filesystem