Skip to content

Commit

Permalink
orm made local variable static
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 5, 2024
1 parent 459ea86 commit 62fa435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/orm/tiny/types/modelscollection.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2302,7 +2302,7 @@ namespace Types
template<DerivedCollectionModel Model>
void ModelsCollection<Model>::throwIfInvalidWhereOperator(const QString &comparison)
{
const std::unordered_set<QString> allowedOperators {
static const std::unordered_set<QString> allowedOperators {
EQ, LT, GT, LE, GE, NE, NE_,
};

Expand Down

0 comments on commit 62fa435

Please sign in to comment.