From 7afaa029116d766d224886fd9061e5b21dd0a122 Mon Sep 17 00:00:00 2001 From: silverqx Date: Mon, 5 Aug 2024 15:17:30 +0200 Subject: [PATCH] orm made local variable static --- include/orm/tiny/types/modelscollection.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/orm/tiny/types/modelscollection.hpp b/include/orm/tiny/types/modelscollection.hpp index 1cdf72468..fb9b59cda 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_, };