Skip to content

Commit d819d7b

Browse files
committed
operator== only used in this file, so it can be static
1 parent d1c086a commit d819d7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/t/tags/test_tags_filter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ struct result_type {
9999

100100
}; // struct result_type
101101

102-
bool operator==(const result_type& lhs, const result_type& rhs) noexcept {
102+
static bool operator==(const result_type& lhs, const result_type& rhs) noexcept {
103103
return lhs.v == rhs.v && lhs.b == rhs.b;
104104
}
105105

0 commit comments

Comments
 (0)