summaryrefslogtreecommitdiffstats
path: root/ingen/filesystem.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-29 12:34:41 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 12:34:41 +0200
commit6244d73850074631ceaaccdf7f755970323f8de2 (patch)
tree46a849e9d527051c8849fc768ea0b0917492ae31 /ingen/filesystem.hpp
parente0e437c0fd970103685db2f1d0c83a9c461ad87f (diff)
downloadingen-6244d73850074631ceaaccdf7f755970323f8de2.tar.gz
ingen-6244d73850074631ceaaccdf7f755970323f8de2.tar.bz2
ingen-6244d73850074631ceaaccdf7f755970323f8de2.zip
Use nullptr
Diffstat (limited to 'ingen/filesystem.hpp')
-rw-r--r--ingen/filesystem.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ingen/filesystem.hpp b/ingen/filesystem.hpp
index d0fcdcd2..4b8e2b11 100644
--- a/ingen/filesystem.hpp
+++ b/ingen/filesystem.hpp
@@ -75,7 +75,7 @@ inline FilePath current_path()
{
struct Freer { void operator()(char* const ptr) { free(ptr); } };
- std::unique_ptr<char, Freer> cpath(realpath(".", NULL));
+ std::unique_ptr<char, Freer> cpath(realpath(".", nullptr));
const FilePath path(cpath.get());
return path;
}