aboutsummaryrefslogtreecommitdiffstats
path: root/src/SongFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/SongFilter.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SongFilter.cxx b/src/SongFilter.cxx
index 5e24b143a..5860b5ddd 100644
--- a/src/SongFilter.cxx
+++ b/src/SongFilter.cxx
@@ -82,6 +82,8 @@ SongFilter::Item::StringMatch(const char *s) const
assert(s != nullptr);
#endif
+ assert(tag != LOCATE_TAG_MODIFIED_SINCE);
+
if (fold_case) {
const std::string folded = IcuCaseFold(s);
return folded.find(value) != folded.npos;