summaryrefslogtreecommitdiff
path: root/src/stringfilter_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stringfilter_type.h')
-rw-r--r--src/stringfilter_type.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stringfilter_type.h b/src/stringfilter_type.h
index f78b133cb..4dad55aaa 100644
--- a/src/stringfilter_type.h
+++ b/src/stringfilter_type.h
@@ -58,7 +58,7 @@ public:
* Check whether any filter words were entered.
* @return true if no words were entered.
*/
- bool IsEmpty() const { return this->word_index.Length() == 0; }
+ bool IsEmpty() const { return this->word_index.size() == 0; }
void ResetState();
void AddLine(const char *str);
@@ -68,7 +68,7 @@ public:
* Get the matching state of the current item.
* @return true if matched.
*/
- bool GetState() const { return this->word_matches == this->word_index.Length(); }
+ bool GetState() const { return this->word_matches == this->word_index.size(); }
};
#endif /* STRINGFILTER_TYPE_H */