Skip to content

Commit 5c993b6

Browse files
committed
Fix clang-tidy warning
1 parent 7dd99d2 commit 5c993b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tile_ordering/tile_ordering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct LRUCache
3838
}
3939
}
4040

41-
bool contains(size_t cam) const
41+
[[nodiscard]] bool contains(size_t cam) const
4242
{
4343
return std::find(entries.begin(), entries.end(), cam) != entries.end();
4444
}

0 commit comments

Comments
 (0)