From 1450875965a4d039de6a64dbf283fd8a3ae08f5f Mon Sep 17 00:00:00 2001
From: Robert <Robert-Altner@t-online.de>
Date: Mon, 18 May 2020 20:07:59 +0200
Subject: [PATCH] Fixed referencing error

---
 SDLU/structures/Color.cpp | 2 +-
 SDLU/structures/Color.hpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/SDLU/structures/Color.cpp b/SDLU/structures/Color.cpp
index 38758b0..0861a30 100644
--- a/SDLU/structures/Color.cpp
+++ b/SDLU/structures/Color.cpp
@@ -47,7 +47,7 @@ namespace sdlu
         return color;
     }
 
-    Color& Color::FromHSV(Uint16 h, Uint8 s, Uint8 v)
+    Color Color::FromHSV(Uint16 h, Uint8 s, Uint8 v)
     {
         // Normalize parameters
         // H : [0, 360)
diff --git a/SDLU/structures/Color.hpp b/SDLU/structures/Color.hpp
index e710d32..b1f8387 100644
--- a/SDLU/structures/Color.hpp
+++ b/SDLU/structures/Color.hpp
@@ -58,7 +58,7 @@ namespace sdlu
          *
          * @return An RGBA Color object generated from HSV
          */
-        static Color& FromHSV(Uint16 h, Uint8 s, Uint8 v);
+        static Color FromHSV(Uint16 h, Uint8 s, Uint8 v);
 
 
         /////////////////// DEFAULT COLORS ///////////////////