summaryrefslogtreecommitdiff
path: root/src/newgrf_text.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/newgrf_text.h
parent6570f7989f5c1fc5a1276505a8e6efce7838efd9 (diff)
downloadopenttd-c01a2e2a81d8e7bcd47d46292ed0b7d452081c31.tar.xz
Codechange: Removed SmallVector completely
Diffstat (limited to 'src/newgrf_text.h')
-rw-r--r--src/newgrf_text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_text.h b/src/newgrf_text.h
index 033967d30..601535d99 100644
--- a/src/newgrf_text.h
+++ b/src/newgrf_text.h
@@ -57,8 +57,8 @@ struct LanguageMap {
* the genders/cases/plural OpenTTD IDs to the NewGRF's internal IDs. In this
* case a NewGRF developer/translator might want a different translation for
* both cases. Thus we are basically implementing a multi-map. */
- SmallVector<Mapping, 1> gender_map; ///< Mapping of NewGRF and OpenTTD IDs for genders.
- SmallVector<Mapping, 1> case_map; ///< Mapping of NewGRF and OpenTTD IDs for cases.
+ std::vector<Mapping> gender_map; ///< Mapping of NewGRF and OpenTTD IDs for genders.
+ std::vector<Mapping> case_map; ///< Mapping of NewGRF and OpenTTD IDs for cases.
int plural_form; ///< The plural form used for this language.
int GetMapping(int newgrf_id, bool gender) const;