Fix compiler warning.

This commit is contained in:
Mark de Wever 2011-04-14 20:18:40 +00:00
parent 64c8d70828
commit ec0f1bddad

View file

@ -546,7 +546,7 @@ namespace {
/** Gets a set of sides from side= attribute in a given config node.
Promotes consistent behaviour and returns always non-empty set with valid teams.
Default side, when in doubt is currently side 1. */
std::set<int> get_sides_set(const vconfig& cfg)
static std::set<int> get_sides_set(const vconfig& cfg)
{
std::set<int> result;
const config::attribute_value sides = cfg["side"];