Fix error compiling in debug build, should test #ifndef NDEBUG instead of
This commit is contained in:
@@ -92,7 +92,7 @@ void EDBM_mesh_load(struct Object *ob);
|
||||
void EDBM_index_arrays_ensure(struct BMEditMesh *em, const char htype);
|
||||
void EDBM_index_arrays_init(struct BMEditMesh *em, const char htype);
|
||||
void EDBM_index_arrays_free(struct BMEditMesh *em);
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
int EDBM_index_arrays_check(struct BMEditMesh *em);
|
||||
#endif
|
||||
struct BMVert *EDBM_vert_at_index(struct BMEditMesh *em, int index);
|
||||
|
||||
@@ -466,7 +466,7 @@ void EDBM_index_arrays_free(BMEditMesh *em)
|
||||
}
|
||||
|
||||
/* debug check only - no need to optimize */
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
int EDBM_index_arrays_check(BMEditMesh *em)
|
||||
{
|
||||
BMIter iter;
|
||||
|
||||
Reference in New Issue
Block a user