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 };
// Per-instance variables. There are four.
#ifdef _DEBUG
#ifndef NDEBUG
public:
enum
{

View file

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

View file

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