aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-09-16 01:24:54 +0200
committer Hop311 <hop3114@gmail.com>2023-09-16 01:24:54 +0200
commitd12aa199023a2bf83af6cc8b421164357c1bc4cf (patch)
treec1ca586b0a2660ab86fa1d7ac13cffdf334dee24 /src/openvic-simulation
parent879b9debfb97c48ed46d777b2a99d71757658cc6 (diff)
Fixed Mac explicit template issue
Diffstat (limited to 'src/openvic-simulation')
-rw-r--r--src/openvic-simulation/types/Vector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvic-simulation/types/Vector.cpp b/src/openvic-simulation/types/Vector.cpp
index a5b8566..27c9aa8 100644
--- a/src/openvic-simulation/types/Vector.cpp
+++ b/src/openvic-simulation/types/Vector.cpp
@@ -79,8 +79,8 @@ constexpr std::ostream& operator<<(std::ostream& stream, vec2_t<T> const& value)
return stream << "(" << value.x << ", " << value.y << ")";
}
-template struct vec2_t<int64_t>;
-template struct vec2_t<fixed_point_t>;
+template struct OpenVic::vec2_t<int64_t>;
+template struct OpenVic::vec2_t<fixed_point_t>;
static_assert(sizeof(ivec2_t) == 2 * sizeof(int64_t), "ivec2_t size does not equal the sum of its parts' sizes");
static_assert(sizeof(fvec2_t) == 2 * sizeof(fixed_point_t), "fvec2_t size does not equal the sum of its parts' sizes");