aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/map
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2024-02-04 15:08:32 +0100
committer hop311 <hop3114@gmail.com>2024-02-04 15:08:32 +0100
commit3f6d7351816b0e089495b2f15dc1c956f3151f5a (patch)
tree606aacf5861d3897f102917cc3af1d6be3471f9f /src/openvic-simulation/map
parent068c13ede817d17df599ca3481261bf17ed95604 (diff)
Reworked ReturnByValue, warn_or_error, expect_date_[identifier_or_]string
Diffstat (limited to 'src/openvic-simulation/map')
-rw-r--r--src/openvic-simulation/map/Map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/map/Map.cpp b/src/openvic-simulation/map/Map.cpp
index 9a97143..a5cd6a6 100644
--- a/src/openvic-simulation/map/Map.cpp
+++ b/src/openvic-simulation/map/Map.cpp
@@ -80,7 +80,7 @@ Province::distance_t Map::calculate_distance_between(Province const& from, Provi
)
);
- return fvec2_t { min_x, to_pos.y - from_pos.y}.length_squared().sqrt();
+ return fvec2_t { min_x, to_pos.y - from_pos.y }.length_squared().sqrt();
}
using adjacency_t = Province::adjacency_t;