Skip to content

Commit

Permalink
Fix a MSVC2015 compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jyrkive committed Feb 10, 2017
1 parent fa6c68a commit b816136
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/dialogs/addon/manager.cpp
Expand Up @@ -328,8 +328,8 @@ void addon_manager::pre_show(window& window)
menu_button& status_filter = find_widget<menu_button>(&window, "install_status_filter", false);

std::vector<config> status_filter_entries;
for(const auto& filter : status_filter_types_) {
status_filter_entries.push_back(config_of("label", filter.second));
for(const auto& f : status_filter_types_) {
status_filter_entries.push_back(config_of("label", f.second));
}

// TODO: initial selection based on preferences
Expand Down

0 comments on commit b816136

Please sign in to comment.