Silence gcc 4.3 wanring by making const void return type void.
This commit is contained in:
parent
8ad3cb4e34
commit
38c208cf93
1 changed files with 1 additions and 1 deletions
|
@ -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()){
|
||||
|
|
Loading…
Add table
Reference in a new issue