summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 3b997ba8..9235f4b8 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -30,13 +30,10 @@ class TextInput;
class ImageRect;
class TextField;
-using TextHistoryList = std::list<std::string>;
-using TextHistoryIterator = TextHistoryList::iterator;
-
struct TextHistory
{
- TextHistoryList history; /**< Command history. */
- TextHistoryIterator current; /**< History iterator. */
+ std::list<std::string> history; /**< Command history. */
+ std::list<std::string>::iterator current; /**< History iterator. */
TextHistory()
{ current = history.end(); }