mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
use unordered containers where possible (patch 4 on X)
Also remove some unused parameters/functions
This commit is contained in:
parent
b66a5d2f88
commit
155288ee98
13 changed files with 63 additions and 99 deletions
|
@ -409,8 +409,6 @@ protected:
|
|||
std::vector<std::pair<FieldSpec, std::vector<std::string> > > m_dropdowns;
|
||||
|
||||
ItemSpec *m_selected_item;
|
||||
f32 m_timer1;
|
||||
f32 m_timer2;
|
||||
u32 m_selected_amount;
|
||||
bool m_selected_dragging;
|
||||
|
||||
|
@ -462,7 +460,7 @@ private:
|
|||
GUITable::TableOptions table_options;
|
||||
GUITable::TableColumns table_columns;
|
||||
// used to restore table selection/scroll/treeview state
|
||||
std::map<std::string, GUITable::DynamicData> table_dyndata;
|
||||
UNORDERED_MAP<std::string, GUITable::DynamicData> table_dyndata;
|
||||
} parserData;
|
||||
|
||||
typedef struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue