summaryrefslogtreecommitdiff
path: root/src/gui/windows/connectiondialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-17 02:42:24 +0300
commitad233d01f2c63dab29a0301209196dfd97856130 (patch)
tree5afb423c4fa8b7e0fff90d5f2e80a8663d8f38e8 /src/gui/windows/connectiondialog.h
parent477e52027f123fef9cc21cd1a66617913b8e1d47 (diff)
downloadmanaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.gz
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.bz2
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.tar.xz
manaplus-ad233d01f2c63dab29a0301209196dfd97856130.zip
Fix compilation without C++11 again.
Diffstat (limited to 'src/gui/windows/connectiondialog.h')
-rw-r--r--src/gui/windows/connectiondialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/connectiondialog.h b/src/gui/windows/connectiondialog.h
index b7318d79f..db284db29 100644
--- a/src/gui/windows/connectiondialog.h
+++ b/src/gui/windows/connectiondialog.h
@@ -46,7 +46,7 @@ class ConnectionDialog final : public Window,
*
* @see Window::Window
*/
- ConnectionDialog(const std::string &text, const State cancelState);
+ ConnectionDialog(const std::string &text, const StateT cancelState);
A_DELETE_COPY(ConnectionDialog)
@@ -63,7 +63,7 @@ class ConnectionDialog final : public Window,
void safeDraw(Graphics *graphics) override final A_NONNULL(2);
private:
- State mCancelState;
+ StateT mCancelState;
};
#endif // GUI_WINDOWS_CONNECTIONDIALOG_H