We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dd99d2 commit 5c993b6Copy full SHA for 5c993b6
1 file changed
src/tile_ordering/tile_ordering.cpp
@@ -38,7 +38,7 @@ struct LRUCache
38
}
39
40
41
- bool contains(size_t cam) const
+ [[nodiscard]] bool contains(size_t cam) const
42
{
43
return std::find(entries.begin(), entries.end(), cam) != entries.end();
44
0 commit comments