Browse Source

Only validate FixedKeys in debug builds

Adam Johnson 11 years ago
parent
commit
09f9380073
  1. 3
      Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp

3
Sources/Plasma/NucleusLib/pnKeyedObject/plFixedKey.cpp

@ -126,10 +126,10 @@ plKeySeed SeedList[] = {
#undef _TCFL #undef _TCFL
#ifdef HS_DEBUGGING
//// plFixedKeyValidator ///////////////////////////////////////////////////// //// plFixedKeyValidator /////////////////////////////////////////////////////
// Static class that validates the fixed key list on startup, to make sure // Static class that validates the fixed key list on startup, to make sure
// you didn't mess up the array. // you didn't mess up the array.
class plFixedKeyValidator class plFixedKeyValidator
{ {
private: private:
@ -157,6 +157,7 @@ class plFixedKeyValidator
}; };
plFixedKeyValidator plFixedKeyValidator::fValidator; plFixedKeyValidator plFixedKeyValidator::fValidator;
#endif
//// The plUoid Fixed-Key Constructor //////////////////////////////////////// //// The plUoid Fixed-Key Constructor ////////////////////////////////////////
// Put here because a) it's fixedKey dependant and b) it ensures that this // Put here because a) it's fixedKey dependant and b) it ensures that this

Loading…
Cancel
Save