From faf62690e2bfd22f8df70bd7ca2e998be4a77026 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sat, 26 Sep 2015 12:46:34 -0400 Subject: [PATCH] Fixed incorrect rvalue reference constructor. --- dlib/array2d/array2d_kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/array2d/array2d_kernel.h b/dlib/array2d/array2d_kernel.h index e79658d95..5a3f418b2 100644 --- a/dlib/array2d/array2d_kernel.h +++ b/dlib/array2d/array2d_kernel.h @@ -161,7 +161,7 @@ namespace dlib } #ifdef DLIB_HAS_RVALUE_REFERENCES - array2d(array2d&& item) + array2d(array2d&& item) : array2d() { swap(item); }