diff --git a/include/orm/tiny/types/modelscollection.hpp b/include/orm/tiny/types/modelscollection.hpp index cd02117b9..de954ec3d 100644 --- a/include/orm/tiny/types/modelscollection.hpp +++ b/include/orm/tiny/types/modelscollection.hpp @@ -2302,7 +2302,7 @@ namespace Types template void ModelsCollection::throwIfInvalidWhereOperator(const QString &comparison) { - const std::unordered_set allowedOperators { + static const std::unordered_set allowedOperators { EQ, LT, GT, LE, GE, NE, NE_, };