From: Anatoly Baksheev Date: Sat, 16 Nov 2013 16:14:01 +0000 (+0400) Subject: compilation for VS2008 X-Git-Tag: accepted/tizen/ivi/20140515.103456~1^2~262^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8f6f9c3e58cfd64ab8d34cdf83cdcb636b4f7608;p=profile%2Fivi%2Fopencv.git compilation for VS2008 --- diff --git a/modules/core/include/opencv2/core/mat.hpp b/modules/core/include/opencv2/core/mat.hpp index 4cb12cc..8ddc16e 100644 --- a/modules/core/include/opencv2/core/mat.hpp +++ b/modules/core/include/opencv2/core/mat.hpp @@ -1075,7 +1075,9 @@ template template inline Mat_<_Tp>::operator Vec template inline Mat_<_Tp>::operator Matx::channel_type, m, n>() const { CV_Assert(n % DataType<_Tp>::channels == 0); - return this->Mat::operator Matx::channel_type, m, n>(); + + Matx::channel_type, m, n> res = this->Mat::operator Matx::channel_type, m, n>(); + return res; } template inline void