From 6244d73850074631ceaaccdf7f755970323f8de2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Sep 2018 12:34:41 +0200 Subject: Use nullptr --- ingen/filesystem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ingen/filesystem.hpp') 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 cpath(realpath(".", NULL)); + std::unique_ptr cpath(realpath(".", nullptr)); const FilePath path(cpath.get()); return path; } -- cgit v1.2.1