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
+1 -1
View File
@@ -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())