fs/Path: replace method Null() with nullptr_t constructor

This commit is contained in:
Max Kellermann
2018-01-17 12:16:21 +01:00
parent 6c239f7a00
commit c4f7740b80
3 changed files with 9 additions and 11 deletions

View File

@@ -498,7 +498,7 @@ try {
const char *const uri_utf8 = song.GetRealURI();
Path path_fs = Path::Null();
Path path_fs = nullptr;
AllocatedPath path_buffer = AllocatedPath::Null();
if (PathTraitsUTF8::IsAbsolute(uri_utf8)) {
path_buffer = AllocatedPath::FromUTF8Throw(uri_utf8);