mirror of https://github.com/davisking/dlib.git
Fixed incorrect rvalue reference constructor.
This commit is contained in:
parent
f8b1a3de2e
commit
faf62690e2
|
@ -161,7 +161,7 @@ namespace dlib
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DLIB_HAS_RVALUE_REFERENCES
|
#ifdef DLIB_HAS_RVALUE_REFERENCES
|
||||||
array2d(array2d&& item)
|
array2d(array2d&& item) : array2d()
|
||||||
{
|
{
|
||||||
swap(item);
|
swap(item);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue