fix travis build

This commit is contained in:
Thomas Fussell 2015-10-26 17:17:39 -04:00
parent b108794579
commit 6b80eb5a95
2 changed files with 4 additions and 4 deletions

View File

@ -397,7 +397,7 @@ void style_reader::read_borders(pugi::xml_node borders_node)
border new_border; border new_border;
const std::vector<std::tuple<std::string, side *, bool *>> sides = const std::vector<std::tuple<std::string, side *, bool *>> sides =
{ {{
{"start", &new_border.start, &new_border.start_assigned}, {"start", &new_border.start, &new_border.start_assigned},
{"end", &new_border.end, &new_border.end_assigned}, {"end", &new_border.end, &new_border.end_assigned},
{"left", &new_border.left, &new_border.left_assigned}, {"left", &new_border.left, &new_border.left_assigned},
@ -407,7 +407,7 @@ void style_reader::read_borders(pugi::xml_node borders_node)
{"diagonal", &new_border.diagonal, &new_border.diagonal_assigned}, {"diagonal", &new_border.diagonal, &new_border.diagonal_assigned},
{"vertical", &new_border.vertical, &new_border.vertical_assigned}, {"vertical", &new_border.vertical, &new_border.vertical_assigned},
{"horizontal", &new_border.horizontal, &new_border.horizontal_assigned} {"horizontal", &new_border.horizontal, &new_border.horizontal_assigned}
}; }};
for(const auto &side : sides) for(const auto &side : sides)
{ {

View File

@ -167,7 +167,7 @@ std::string style_writer::write_table() const
auto border_node = borders_node.append_child("border"); auto border_node = borders_node.append_child("border");
const std::vector<std::tuple<std::string, const side, bool>> sides = const std::vector<std::tuple<std::string, const side, bool>> sides =
{ {{
{"start", border_.start, border_.start_assigned}, {"start", border_.start, border_.start_assigned},
{"end", border_.end, border_.end_assigned}, {"end", border_.end, border_.end_assigned},
{"left", border_.left, border_.left_assigned}, {"left", border_.left, border_.left_assigned},
@ -177,7 +177,7 @@ std::string style_writer::write_table() const
{"diagonal", border_.diagonal, border_.diagonal_assigned}, {"diagonal", border_.diagonal, border_.diagonal_assigned},
{"vertical", border_.vertical, border_.vertical_assigned}, {"vertical", border_.vertical, border_.vertical_assigned},
{"horizontal", border_.horizontal, border_.horizontal_assigned} {"horizontal", border_.horizontal, border_.horizontal_assigned}
}; }};
for(const auto &side_tuple : sides) for(const auto &side_tuple : sides)
{ {