shared: LooksQuery: init tokensMask with 0 to be sure

Cette révision appartient à :
Albert S. 2021-06-12 22:48:59 +02:00
Parent 414d53e59a
révision 248bfb96fe

Voir le fichier

@ -39,7 +39,7 @@ class LooqsQuery
private:
/* Helper field to determine quertype as well as to quickly check what kind of filters etc.
* are being used in this query*/
int tokensMask;
int tokensMask = 0;
QVector<Token> tokens;
QVector<SortCondition> sortConditions;
void addToken(Token t);