summaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2016-10-06 19:20:12 +0200
committersfan5 <sfan5@live.de>2016-10-06 22:37:26 +0200
commit155288ee981c70f505526347cb2bcda4df1c8e6b (patch)
tree582095bc50cb60d3dedb9f6a08e908324a3da365 /src/guiFormSpecMenu.h
parentb66a5d2f8842cc84ae44257dc0ead255e5b0538f (diff)
downloadminetest-155288ee981c70f505526347cb2bcda4df1c8e6b.tar.gz
minetest-155288ee981c70f505526347cb2bcda4df1c8e6b.tar.bz2
minetest-155288ee981c70f505526347cb2bcda4df1c8e6b.zip
use unordered containers where possible (patch 4 on X)
Also remove some unused parameters/functions
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r--src/guiFormSpecMenu.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h
index 21054b725..153720975 100644
--- a/src/guiFormSpecMenu.h
+++ b/src/guiFormSpecMenu.h
@@ -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 {