diff options
Diffstat (limited to 'ingen/filesystem.hpp')
-rw-r--r-- | ingen/filesystem.hpp | 2 |
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; } |