From 4764c3ea7735d238c7606dd68ea95dab2d1fcb47 Mon Sep 17 00:00:00 2001 From: Shauren Date: Thu, 20 Nov 2014 01:17:45 +0100 Subject: Core/Util: Fixed "value" name in Optional struct to follow code style --- src/server/shared/Utilities/Util.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/server/shared') diff --git a/src/server/shared/Utilities/Util.h b/src/server/shared/Utilities/Util.h index 8a4f7325add..5aaedfb8ffe 100644 --- a/src/server/shared/Utilities/Util.h +++ b/src/server/shared/Utilities/Util.h @@ -33,21 +33,21 @@ template struct Optional { - Optional() : value(), HasValue(false) { } + Optional() : Value(), HasValue(false) { } - T value; + T Value; bool HasValue; inline void Set(T const& v) { HasValue = true; - value = v; + Value = v; } inline void Clear() { HasValue = false; - value = T(); + Value = T(); } }; -- cgit v1.2.3