summaryrefslogtreecommitdiff
path: root/src/stringfilter_type.h
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-03-03 17:30:09 +0000
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commitc01a2e2a81d8e7bcd47d46292ed0b7d452081c31 (patch)
treeb38441ec8469136a6a2252f8c856d22f14ee689e /src/stringfilter_type.h
parent6570f7989f5c1fc5a1276505a8e6efce7838efd9 (diff)
downloadopenttd-c01a2e2a81d8e7bcd47d46292ed0b7d452081c31.tar.xz
Codechange: Removed SmallVector completely
Diffstat (limited to 'src/stringfilter_type.h')
-rw-r--r--src/stringfilter_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stringfilter_type.h b/src/stringfilter_type.h
index 4dad55aaa..0a4a464c7 100644
--- a/src/stringfilter_type.h
+++ b/src/stringfilter_type.h
@@ -39,7 +39,7 @@ private:
};
const char *filter_buffer; ///< Parsed filter string. Words separated by 0.
- SmallVector<WordState, 4> word_index; ///< Word index and filter state.
+ std::vector<WordState> word_index; ///< Word index and filter state.
uint word_matches; ///< Summary of filter state: Number of words matched.
const bool *case_sensitive; ///< Match case-sensitively (usually a static variable).