diff options
author | Alex Zolotarev <alex@maps.me> | 2014-10-14 13:14:55 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:30:57 +0300 |
commit | 0ddcff0b07566260e1e00990f70555110fb5cfa7 (patch) | |
tree | 32d542f1b9d9f6dcdc4e800b4ac5b3d6ee62b2c8 /map/country_status_display.cpp | |
parent | 9ad4f6585c45443815b7ab9a691a7c47eefe6012 (diff) |
[msvc][win] Fixed compilation issues
Diffstat (limited to 'map/country_status_display.cpp')
-rw-r--r-- | map/country_status_display.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/map/country_status_display.cpp b/map/country_status_display.cpp index 03d58e9f4b..8072728bb9 100644 --- a/map/country_status_display.cpp +++ b/map/country_status_display.cpp @@ -31,7 +31,7 @@ CountryStatusDisplay::CountryStatusDisplay(Params const & p) bp.m_minHeight = 40; bp.m_position = graphics::EPosCenter; - auto createButtonFn = [this](gui::Button::Params const & params) + auto createButtonFn = [this] (gui::Button::Params const & params) { gui::Button * result = new gui::Button(params); result->setIsVisible(false); @@ -158,7 +158,7 @@ void CountryStatusDisplay::purge() void CountryStatusDisplay::cache() { - auto cacheFn = [](gui::Element * e) + auto cacheFn = [] (gui::Element * e) { if (e->isVisible()) e->cache(); @@ -389,7 +389,7 @@ void CountryStatusDisplay::ComposeElementsForState() { ASSERT(isVisible(), ()); int visibleCount = 0; - auto visibleCheckFn = [&visibleCount](gui::Element const * e) + auto visibleCheckFn = [&visibleCount] (gui::Element const * e) { if (e->isVisible()) ++visibleCount; |