aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/utility/Getters.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/utility/Getters.hpp')
-rw-r--r--src/openvic-simulation/utility/Getters.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/openvic-simulation/utility/Getters.hpp b/src/openvic-simulation/utility/Getters.hpp
index a722071..1fb82b1 100644
--- a/src/openvic-simulation/utility/Getters.hpp
+++ b/src/openvic-simulation/utility/Getters.hpp
@@ -49,7 +49,10 @@ public: \
ACCESS:
namespace OpenVic {
- struct ReturnByValueProperty {};
+ struct ReturnByValueProperty {
+ constexpr bool operator==(ReturnByValueProperty const&) const = default;
+ constexpr std::strong_ordering operator<=>(ReturnByValueProperty const&) const = default;
+ };
/*
* Template function used to choose the return type and provide the implementation