From 35b4fa2e5c6c7fd082493ec143cf236da69f7ba1 Mon Sep 17 00:00:00 2001 From: Arturo <69714460+Jarturog@users.noreply.github.com> Date: Sun, 18 Feb 2024 21:27:58 +0100 Subject: Regions are now coloured from colors.txt --- src/openvic-simulation/types/Colour.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/openvic-simulation/types') 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); } -- cgit v1.2.3-56-ga3b1