From cf9b621c10be7ceaedfa645f486416ef3339d01f Mon Sep 17 00:00:00 2001 From: Jamie Reece Wilson Date: Fri, 22 Sep 2023 05:15:57 +0100 Subject: [PATCH] [*] dumb AuOptionalEx copy ctor issue --- Include/auROXTL/auOptionalEx.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/auROXTL/auOptionalEx.hpp b/Include/auROXTL/auOptionalEx.hpp index 08e7ec9..ab7b951 100644 --- a/Include/auROXTL/auOptionalEx.hpp +++ b/Include/auROXTL/auOptionalEx.hpp @@ -19,7 +19,7 @@ struct AuOptionalEx AuOptionalEx() : hasValue(false) {} - AuOptionalEx(T &value) : type(value), hasValue(true) + AuOptionalEx(const T &value) : type(value), hasValue(true) {} AuOptionalEx(T &&value) : type(value), hasValue(true)