diff options
author | Max Kellermann <max@musicpd.org> | 2021-01-21 20:07:14 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-03-04 18:05:29 +0100 |
commit | dc9103befecf6056b0a75e569de030acc847f4a9 (patch) | |
tree | 20dbe74f7b8fe3a41f24f6f6c3b16b5de00db0d9 /src/fs | |
parent | 67760f52831cbfbb0014bc4744029c3e2c9840be (diff) |
util/AllocatedString: remove Null(), IsNull()
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/NarrowPath.cxx | 2 |
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(); } |