Commit 97dc7f2a authored by Davis King's avatar Davis King

Fixed a compile time bug that happened with gcc when DEBUG was #defined

but not ENABLE_ASSERTS.
parent a60188bb
......@@ -1422,7 +1422,7 @@ namespace dlib
)
{
// make sure requires clause is not broken
#if ENABLE_ASSERTS
#ifdef ENABLE_ASSERTS
for (unsigned long i = 0; i < chip_locations.size(); ++i)
{
DLIB_CASSERT(chip_locations[i].size != 0 &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment