aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/types/Colour.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-simulation/types/Colour.hpp')
-rw-r--r--src/openvic-simulation/types/Colour.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/types/Colour.hpp b/src/openvic-simulation/types/Colour.hpp
index b1888f2..991493b 100644
--- a/src/openvic-simulation/types/Colour.hpp
+++ b/src/openvic-simulation/types/Colour.hpp
@@ -321,7 +321,7 @@ namespace OpenVic {
return _array_access_helper<value_type>(*this, index);
}
- constexpr const value_type& operator[](std::size_t index) const {
+ constexpr value_type const& operator[](std::size_t index) const {
return _array_access_helper<const value_type>(*this, index);
}