This commit is contained in:
Rachael Alexanderson 2017-06-24 11:31:01 -04:00
commit 9cb9121549
3 changed files with 3 additions and 3 deletions

View File

@ -198,7 +198,7 @@ protected:
enum { MetaClassNum = CLASSREG_PClass }; enum { MetaClassNum = CLASSREG_PClass };
// Per-instance variables. There are four. // Per-instance variables. There are four.
#ifdef _DEBUG #ifndef NDEBUG
public: public:
enum enum
{ {

View File

@ -376,7 +376,7 @@ int VMCall(VMFunction *func, VMValue *params, int numparams, VMReturn *results,
// variable name <x> at position <p> // variable name <x> at position <p>
void NullParam(const char *varname); void NullParam(const char *varname);
#ifdef _DEBUG #ifndef NDEBUG
bool AssertObject(void * ob); bool AssertObject(void * ob);
#endif #endif

View File

@ -229,7 +229,7 @@ void VMFillParams(VMValue *params, VMFrame *callee, int numparam)
} }
#ifdef _DEBUG #ifndef NDEBUG
bool AssertObject(void * ob) bool AssertObject(void * ob)
{ {
auto obj = (DObject*)ob; auto obj = (DObject*)ob;