From 62fa435ef8392919b408fa5e3be5abed899c129f 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 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_, };