mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-07-17 19:56:38 -04:00
more adaption for x64
This commit is contained in:
parent
3e334ca731
commit
9235ac60c1
16 changed files with 214 additions and 234 deletions
|
@ -67,8 +67,8 @@ public:
|
|||
ASSERT(index < value_pairs.size());
|
||||
return this->value_pairs[index];
|
||||
}
|
||||
int FindIndex(const CString& key) const noexcept;
|
||||
int FindValue(CString val) const noexcept;
|
||||
int64_t FindIndex(const CString& key) const noexcept;
|
||||
int64_t FindValue(CString val) const noexcept;
|
||||
|
||||
const CString& operator[](const CString& key) const {
|
||||
return this->GetString(key);
|
||||
|
@ -203,7 +203,7 @@ public:
|
|||
}
|
||||
|
||||
private:
|
||||
map<CString, int, SortDummy> value_pos{};
|
||||
map<CString, int64_t, SortDummy> value_pos{};
|
||||
vector<std::pair<CString, CString>> value_pairs{};// sequenced
|
||||
mutable bool isRegistry{false};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue