diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-11-20 01:17:45 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-11-20 01:17:45 +0100 |
commit | 4764c3ea7735d238c7606dd68ea95dab2d1fcb47 (patch) | |
tree | 3ace437e7fc14db550e357254f7ac4add74b9667 /src/server/shared/Utilities/Util.h | |
parent | abff9de719ac189fc82da87f077a24dba69cfdbb (diff) |
Core/Util: Fixed "value" name in Optional struct to follow code style
Diffstat (limited to 'src/server/shared/Utilities/Util.h')
-rw-r--r-- | src/server/shared/Utilities/Util.h | 8 |
1 files changed, 4 insertions, 4 deletions
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<typename T> 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(); } }; |