Skip to content

Commit 3059988

Browse files
committed
Make toOmit const
1 parent c3e31de commit 3059988

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/variables/variable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class KeyExclusions : public std::deque<std::unique_ptr<KeyExclusion>> {
154154
KeyExclusions() {
155155
}
156156

157-
bool toOmit(std::string a) {
157+
bool toOmit(std::string a) const {
158158
for (auto &z : *this) {
159159
if (z->match(a)) {
160160
return true;

0 commit comments

Comments
 (0)