diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-01 01:14:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-01 01:14:16 +0300 |
commit | 05b25b1a5420f1c38cfd39a73c6c0442c8d17464 (patch) | |
tree | 880b9e4d870dd3f1cb21b769a8e8a626adf5f094 /src | |
parent | 9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33 (diff) | |
download | manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.gz manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.bz2 manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.xz manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.zip |
Fix again build without C++11 flag.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/userpalette.h | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/ministatuswindow.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h index 22203560c..1a7af763b 100644 --- a/src/gui/userpalette.h +++ b/src/gui/userpalette.h @@ -183,7 +183,7 @@ class UserPalette final : public Palette, public ListModel * * @return the gradient type of the color with the given index */ - inline GradientTypeT getGradientType(const UserColorId type) + inline GradientTypeT getGradientType(const UserColorIdT type) const A_WARN_UNUSED { return mColors[static_cast<size_t>(type)].grad; } diff --git a/src/gui/windows/ministatuswindow.cpp b/src/gui/windows/ministatuswindow.cpp index 73663c3a7..42a499771 100644 --- a/src/gui/windows/ministatuswindow.cpp +++ b/src/gui/windows/ministatuswindow.cpp @@ -175,7 +175,7 @@ MiniStatusWindow::~MiniStatusWindow() ProgressBar *MiniStatusWindow::createBar(const float progress, const int width, const int height, - const ThemeColorId textColor, + const ThemeColorIdT textColor, const ProgressColorIdT backColor, const std::string &restrict skin, const std::string &restrict skinFill, diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h index dbe2b76e8..cae3cd414 100644 --- a/src/gui/windows/ministatuswindow.h +++ b/src/gui/windows/ministatuswindow.h @@ -112,7 +112,7 @@ class MiniStatusWindow final : public Window, ProgressBar *createBar(const float progress, const int width, const int height, - const ThemeColorId textColor, + const ThemeColorIdT textColor, const ProgressColorIdT backColor, const std::string &restrict skin, const std::string &restrict skinFill, |