fixup C++11 compilation, thanks to duncan_shriek/roland_ on irc

This commit is contained in:
Chris Beck 2014-11-04 11:40:10 -05:00
parent 1bf85228da
commit 0e9dcfb3db

View file

@ -2160,7 +2160,7 @@ WML_HANDLER_FUNCTION(set_variables, /*event_info*/, cfg)
BOOST_FOREACH(const config &cfg, data) {
merged_children.append(cfg);
}
data = boost::assign::list_of(merged_children);
data = boost::assign::list_of(merged_children).convert_to_container<std::vector<config> >();
}
dest.merge_array(data);
}