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

@@ -110,7 +110,7 @@ icy_server_metadata_page(const Tag &tag, const TagType *types) noexcept
const auto icy_string = icy_server_metadata_string(stream_title, "");
if (icy_string.IsNull())
if (icy_string == nullptr)
return nullptr;
return std::make_shared<Page>(icy_string.c_str(),