summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tag_list.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tag_list.cpp b/src/tag_list.cpp
index 34112b3eca..7900f9872e 100644
--- a/src/tag_list.cpp
+++ b/src/tag_list.cpp
@@ -132,8 +132,6 @@ auto tag_list::cend() const -> const_iterator { return tags.cend(); }
bool operator==(const tag_list& lhs, const tag_list& rhs)
{
- if(lhs.size() == 0 && rhs.size() == 0)
- return true;
return lhs.el_type_ == rhs.el_type_ && lhs.tags == rhs.tags;
}