diff options
author | Steve Frampton <40193522+FarmingtonS9@users.noreply.github.com> | 2023-09-16 01:56:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-16 01:56:29 +0200 |
commit | 64d134ad20c333afa60373526d6fab27a07c6adc (patch) | |
tree | c1ca586b0a2660ab86fa1d7ac13cffdf334dee24 | |
parent | 879b9debfb97c48ed46d777b2a99d71757658cc6 (diff) | |
parent | d12aa199023a2bf83af6cc8b421164357c1bc4cf (diff) |
Merge pull request #16 from OpenVicProject/mac-fix
Fixed Mac explicit template issue
-rw-r--r-- | src/openvic-simulation/types/Vector.cpp | 4 |
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"); |