diff --git a/src/SongFilter.cxx b/src/SongFilter.cxx index 4c3e746b1..a42f15ff4 100644 --- a/src/SongFilter.cxx +++ b/src/SongFilter.cxx @@ -59,7 +59,7 @@ locate_parse_type(const char *str) noexcept SongFilter::Item::Item(unsigned _tag, const char *_value, bool _fold_case) :tag(_tag), - value(AllocatedString<>::Duplicate(_value)), + value(_value), fold_case(_fold_case ? IcuCompare(value.c_str()) : IcuCompare()) { } diff --git a/src/SongFilter.hxx b/src/SongFilter.hxx index ec8317879..e7f4da9ab 100644 --- a/src/SongFilter.hxx +++ b/src/SongFilter.hxx @@ -21,9 +21,9 @@ #define MPD_SONG_FILTER_HXX #include "lib/icu/Compare.hxx" -#include "util/AllocatedString.hxx" #include "Compiler.h" +#include #include #include @@ -49,7 +49,7 @@ public: class Item { uint8_t tag; - AllocatedString<> value; + std::string value; /** * This value is only set if case folding is enabled.