Silence gcc 4.3 wanring by making const void return type void.

This commit is contained in:
Bruno Wolff III 2008-03-19 15:09:18 +00:00
parent 8ad3cb4e34
commit 38c208cf93

View file

@ -212,7 +212,7 @@ namespace game_config
}
}
const void add_color_info(const config& v){
void add_color_info(const config& v){
const config::child_list& team_colors = v.get_children("color_range");
for(config::child_list::const_iterator teamC = team_colors.begin(); teamC != team_colors.end(); ++teamC) {
if(!(**teamC)["id"].empty() && !(**teamC)["rgb"].empty()){