Commit faf62690 authored by Davis King's avatar Davis King

Fixed incorrect rvalue reference constructor.

parent f8b1a3de
......@@ -161,7 +161,7 @@ namespace dlib
}
#ifdef DLIB_HAS_RVALUE_REFERENCES
array2d(array2d&& item)
array2d(array2d&& item) : array2d()
{
swap(item);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment