mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 20:24:12 +01:00
Codechange: Use TypedIndexContainer for typed index containers
Instead of ReferenceThroughBaseContainer
This commit is contained in:
committed by
Peter Nelson
parent
d0e49a297f
commit
63f1c2aa3a
@@ -74,7 +74,7 @@ struct GRFTextEntry {
|
||||
};
|
||||
|
||||
|
||||
static ReferenceThroughBaseContainer<std::vector<GRFTextEntry>> _grf_text;
|
||||
static TypedIndexContainer<std::vector<GRFTextEntry>, StringIndexInTab> _grf_text;
|
||||
static uint8_t _current_lang_id = GRFLX_ENGLISH; ///< by default, english is used.
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user