From 3d7fbd9b376811ca0ed226fa78bcc8b6279ba8dc Mon Sep 17 00:00:00 2001 From: Hop311 Date: Sat, 9 Sep 2023 21:49:52 +0100 Subject: Format cleanup and req comments --- src/openvic-simulation/map/Map.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/openvic-simulation/map/Map.cpp') diff --git a/src/openvic-simulation/map/Map.cpp b/src/openvic-simulation/map/Map.cpp index 8f10410..728fc42 100644 --- a/src/openvic-simulation/map/Map.cpp +++ b/src/openvic-simulation/map/Map.cpp @@ -490,11 +490,9 @@ bool Map::load_province_definitions(std::vector const& lines) { const std::string_view identifier = line.get_value_for(0); if (!identifier.empty()) { colour_t colour; - if (!parse_province_colour(colour, { - line.get_value_for(1), - line.get_value_for(2), - line.get_value_for(3) - })) { + if (!parse_province_colour(colour, + { line.get_value_for(1), line.get_value_for(2), line.get_value_for(3) } + )) { Logger::error("Error reading colour in province definition: ", line); ret = false; } -- cgit v1.2.3-56-ga3b1