diff options
author | Max Kellermann <max@duempel.org> | 2015-02-06 12:25:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-06 12:25:34 +0100 |
commit | b3fe3e8b3de5794762f21000d5771b0491e8a041 (patch) | |
tree | 327f310b6e160bf37e765233ae0cfe85e3687a03 /src/cue/CueParser.cxx | |
parent | 8a6b4db19f63f95a7167ca27026cb16aa80fffad (diff) | |
download | mpd-b3fe3e8b3de5794762f21000d5771b0491e8a041.tar.gz mpd-b3fe3e8b3de5794762f21000d5771b0491e8a041.tar.xz mpd-b3fe3e8b3de5794762f21000d5771b0491e8a041.zip |
TagBuilder: allow adding duplicate tag types in Complement()
Build a table of pre-existing tag types before adding new items. The
old way would check HasType() each time, which would return true after
the first instance of that tag type had been added, preventing
duplicate tag types to be merged.
This broke duplicate tag types loaded from the state file, because
this code path uses TagBuilder::Complement().
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions