Modified debug #defines

This commit is contained in:
John Wellbelove 2016-12-28 12:50:57 +00:00
parent b04516d258
commit 5a0c830f00

View File

@ -382,7 +382,7 @@ namespace etl
template <typename TIterator>
void assign(TIterator first, TIterator last)
{
#ifdef _DEBUG
#if defined(_DEBUG) || defined(DEBUG)
difference_type count = std::distance(first, last);
ETL_ASSERT(static_cast<size_t>(count) <= MAX_SIZE, ETL_ERROR(vector_full));
#endif