diff options
author | Rat <gmstreetrat@gmail.com> | 2014-11-29 14:52:53 +0100 |
---|---|---|
committer | Rat <gmstreetrat@gmail.com> | 2014-11-29 14:52:53 +0100 |
commit | eda9094226983fc719378af5c1eca1a7ce93428e (patch) | |
tree | 2461148a06096691d40255452538d52e4bc8698f /src/server/shared/Utilities/Util.h | |
parent | 8c4761e820d1185afb3d6384c47e0a53dce42fbc (diff) | |
parent | 96f9451b850994fe2e92db43b4bc6327ae7e1734 (diff) |
Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into Spells
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(); } }; |