Made the requires checking for array::set_size() always stay on since it is not

going to be performance critical and is a common user error.
This commit is contained in:
Davis King 2014-05-21 20:52:57 -04:00
parent eec39b4d0e
commit e314061e82
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ namespace dlib
)
{
// make sure requires clause is not broken
DLIB_ASSERT(( size <= this->max_size() ),
DLIB_CASSERT(( size <= this->max_size() ),
"\tvoid array::set_size"
<< "\n\tsize must be <= max_size()"
<< "\n\tsize: " << size