aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/types
diff options
context:
space:
mode:
author Arturo <69714460+Jarturog@users.noreply.github.com>2024-02-22 22:22:25 +0100
committer GitHub <noreply@github.com>2024-02-22 22:22:25 +0100
commit164e76e367ff7dc5914f0d7105b5914fd3fba90a (patch)
treece02787f870da7584fb9ea275efa53d98431b7c2 /src/openvic-simulation/types
parent147e0a772dc768bd90fdccdd2536f14c11238d57 (diff)
parent35b4fa2e5c6c7fd082493ec143cf236da69f7ba1 (diff)
Merge pull request #148 from OpenVicProject/region-colours
Regions are now coloured from colors.txt
Diffstat (limited to 'src/openvic-simulation/types')
-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 304d9de..b1888f2 100644
--- a/src/openvic-simulation/types/Colour.hpp
+++ b/src/openvic-simulation/types/Colour.hpp
@@ -399,7 +399,7 @@ namespace OpenVic {
using colour_t = colour_rgb_t;
namespace colour_literals {
- constexpr colour_t operator""_colour(unsigned long long value) {
+ constexpr colour_t operator""_rgb(unsigned long long value) {
return colour_t::from_integer(value);
}