Skip to content

Commit

Permalink
tlist: remove ancient foreach.hpp include and use BOOST_FOREACH instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Oct 18, 2015
1 parent 4346856 commit 2f88db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/widgets/list.cpp
Expand Up @@ -18,7 +18,6 @@

#include "gui/widgets/list.hpp"

#include "foreach.hpp"
#include "gui/auxiliary/log.hpp"
#include "gui/auxiliary/widget_definition/listbox.hpp"
#include "gui/auxiliary/window_builder/listbox.hpp"
Expand All @@ -27,6 +26,7 @@
#include "gui/widgets/window.hpp"

#include <boost/bind.hpp>
#include <boost/foreach.hpp>

#define LOG_SCOPE_HEADER get_control_type() + " [" + id() + "] " + __func__
#define LOG_HEADER LOG_SCOPE_HEADER + ':'
Expand Down Expand Up @@ -120,7 +120,7 @@ tlist::add_row(const std::map<std::string /* widget id */, string_map>& data,

void tlist::append_rows(const std::vector<string_map>& items)
{
foreach(const string_map & item, items)
BOOST_FOREACH(const string_map & item, items)
{
add_row(item);
}
Expand Down

0 comments on commit 2f88db8

Please sign in to comment.