summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-01-21 20:07:14 +0100
committerMax Kellermann <max@musicpd.org>2021-01-21 20:12:05 +0100
commit3bc45fbf68081b24c59a2960221bf46ad92f84d4 (patch)
treeef10a8f11c6b06a3a2ef853e026bc0dd7daa65b3 /src/fs
parent36168a24f5b8d52a6f5c04fa42a212e46fc12d24 (diff)
util/AllocatedString: remove Null(), IsNull()
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/NarrowPath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/NarrowPath.cxx b/src/fs/NarrowPath.cxx
index fec228f9d..e9655d7f8 100644
--- a/src/fs/NarrowPath.cxx
+++ b/src/fs/NarrowPath.cxx
@@ -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();
}