From d12aa199023a2bf83af6cc8b421164357c1bc4cf Mon Sep 17 00:00:00 2001 From: Hop311 Date: Sat, 16 Sep 2023 00:24:54 +0100 Subject: Fixed Mac explicit template issue --- src/openvic-simulation/types/Vector.cpp | 4 ++-- 1 file 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 const& value) return stream << "(" << value.x << ", " << value.y << ")"; } -template struct vec2_t; -template struct vec2_t; +template struct OpenVic::vec2_t; +template struct OpenVic::vec2_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"); -- cgit v1.2.3-56-ga3b1