diff --git a/src/tools99/string5.cpp b/src/tools99/string5.cpp index 7a02f949f..ac48cc4ba 100644 --- a/src/tools99/string5.cpp +++ b/src/tools99/string5.cpp @@ -117,7 +117,7 @@ adstring& adstring_array::operator[](int i) ad_exit(1); } -#ifdef DEBUG +#ifndef OPT_LIB assert(indexmin() <= i && i <= indexmax()); #endif