From 09f9380073df77cc83ad96cf9882ef2f3cdfb208 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Fri, 24 May 2013 17:34:38 -0400 Subject: [PATCH] Only validate FixedKeys in debug builds --- Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp b/Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp index 8bc01a9e..b0b0d5ce 100644 --- a/Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp +++ b/Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp @@ -126,10 +126,10 @@ plKeySeed SeedList[] = { #undef _TCFL +#ifdef HS_DEBUGGING //// plFixedKeyValidator ///////////////////////////////////////////////////// // Static class that validates the fixed key list on startup, to make sure // you didn't mess up the array. - class plFixedKeyValidator { private: @@ -157,6 +157,7 @@ class plFixedKeyValidator }; plFixedKeyValidator plFixedKeyValidator::fValidator; +#endif //// The plUoid Fixed-Key Constructor //////////////////////////////////////// // Put here because a) it's fixedKey dependant and b) it ensures that this