Fixed incorrect rvalue reference constructor.

This commit is contained in:
Davis King 2015-09-26 12:46:34 -04:00
parent f8b1a3de2e
commit faf62690e2
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ namespace dlib
}
#ifdef DLIB_HAS_RVALUE_REFERENCES
array2d(array2d&& item)
array2d(array2d&& item) : array2d()
{
swap(item);
}