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

@@ -50,7 +50,7 @@ class RecorderOutput final : AudioOutput {
/**
* The destination file name.
*/
AllocatedPath path = AllocatedPath::Null();
AllocatedPath path = nullptr;
/**
* A string that will be used with FormatTag() to build the
@@ -298,7 +298,7 @@ RecorderOutput::SendTag(const Tag &tag)
AtScopeExit(p) { free(p); };
AllocatedPath new_path = AllocatedPath::Null();
AllocatedPath new_path = nullptr;
try {
new_path = ParsePath(p);