fs/AllocatedPath: make the nullptr_t constructor public

This commit is contained in:
Max Kellermann
2018-01-17 12:17:41 +01:00
parent c4f7740b80
commit bbc5212436
24 changed files with 58 additions and 62 deletions

View File

@@ -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
}