util/AllocatedString: remove Null(), IsNull()

This commit is contained in:
Max Kellermann
2021-01-21 20:07:14 +01:00
parent 67760f5283
commit dc9103befe
5 changed files with 5 additions and 13 deletions

View File

@@ -29,7 +29,7 @@
NarrowPath::NarrowPath(Path _path) noexcept
:value(WideCharToMultiByte(CP_ACP, _path.c_str()))
{
if (value.IsNull())
if (value == nullptr)
/* fall back to empty string */
value = Value::Empty();
}