diff --git a/src/ivector.h b/src/ivector.h index 0dfe8491..de7c5cd8 100644 --- a/src/ivector.h +++ b/src/ivector.h @@ -382,7 +382,7 @@ namespace etl template void assign(TIterator first, TIterator last) { -#ifdef _DEBUG +#if defined(_DEBUG) || defined(DEBUG) difference_type count = std::distance(first, last); ETL_ASSERT(static_cast(count) <= MAX_SIZE, ETL_ERROR(vector_full)); #endif