diff options
Diffstat (limited to 'src/support')
-rw-r--r-- | src/support/sorted_vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/sorted_vector.h b/src/support/sorted_vector.h index 5c1d9a731..234d4da7e 100644 --- a/src/support/sorted_vector.h +++ b/src/support/sorted_vector.h @@ -82,7 +82,7 @@ struct SortedVector : public std::vector<Index> { return false; } - bool has(Index x) { + bool has(Index x) const { auto it = std::lower_bound(begin(), end(), x); return it != end() && *it == x; } |