fs/AllocatedPath: make the nullptr_t constructor public
This commit is contained in:
@@ -79,7 +79,7 @@ inline SimpleDatabase::SimpleDatabase(AllocatedPath &&_path,
|
||||
#ifdef ENABLE_ZLIB
|
||||
compress(_compress),
|
||||
#endif
|
||||
cache_path(AllocatedPath::Null()),
|
||||
cache_path(nullptr),
|
||||
prefixed_light_song(nullptr) {
|
||||
}
|
||||
|
||||
|
@@ -135,7 +135,7 @@ AllocatedPath
|
||||
WatchDirectory::GetUriFS() const noexcept
|
||||
{
|
||||
if (parent == nullptr)
|
||||
return AllocatedPath::Null();
|
||||
return nullptr;
|
||||
|
||||
const auto uri = parent->GetUriFS();
|
||||
if (uri.IsNull())
|
||||
|
Reference in New Issue
Block a user