diff options
author | Max Kellermann <max@musicpd.org> | 2018-01-17 12:17:41 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-01-17 12:17:41 +0100 |
commit | bbc5212436021cd76f173ce60d7f0d95411d3319 (patch) | |
tree | a6b517c25799913d4cf7f3b5fbc95d143a9a53e3 /src/LogInit.cxx | |
parent | c4f7740b800c49ad119e5d70335ea51a666e0114 (diff) |
fs/AllocatedPath: make the nullptr_t constructor public
Diffstat (limited to 'src/LogInit.cxx')
-rw-r--r-- | src/LogInit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LogInit.cxx b/src/LogInit.cxx index 5660f5576..054c37c72 100644 --- a/src/LogInit.cxx +++ b/src/LogInit.cxx @@ -46,7 +46,7 @@ static constexpr Domain log_domain("log"); #ifndef ANDROID static int out_fd = -1; -static AllocatedPath out_path = AllocatedPath::Null(); +static AllocatedPath out_path = nullptr; static void redirect_logs(int fd) { @@ -169,7 +169,7 @@ log_deinit(void) { #ifndef ANDROID close_log_files(); - out_path = AllocatedPath::Null(); + out_path = nullptr; #endif } |