summaryrefslogtreecommitdiff
path: root/src/gui/theme.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-01 01:11:53 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-01 01:11:53 +0300
commit9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33 (patch)
tree57f9c135e99b717eb8467e6ea932e19b800e3abf /src/gui/theme.h
parent16f6f636aee6acaf52439643502f5ff9cb4ccffc (diff)
downloadmanaverse-9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33.tar.gz
manaverse-9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33.tar.bz2
manaverse-9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33.tar.xz
manaverse-9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33.zip
Fix compilation without C++11 flag.
Diffstat (limited to 'src/gui/theme.h')
-rw-r--r--src/gui/theme.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/theme.h b/src/gui/theme.h
index 2b6e45812..2332db1da 100644
--- a/src/gui/theme.h
+++ b/src/gui/theme.h
@@ -142,7 +142,7 @@ class Theme final : public Palette,
logger->log("incorrect color request type: %d from %u",
static_cast<int>(type),
static_cast<unsigned int>(mColors.size()));
- type = ThemeColorIdT::BROWSERBOX;
+ type = ThemeColorId::BROWSERBOX;
}
Color* col = &mColors[static_cast<size_t>(type)].color;
col->a = alpha;