提交 d2de68c1 编写于 作者: A Andrey Kamaev 提交者: OpenCV Buildbot

Merge pull request #804 from gpsinghsandhu:staticCast

......@@ -686,7 +686,7 @@ template<typename _Tp> static inline
Scalar operator * (const Matx<_Tp, 4, 4>& a, const Scalar& b)
{
Matx<double, 4, 1> c(Matx<double, 4, 4>(a), b, Matx_MatMulOp());
return reinterpret_cast<const Scalar&>(c);
return static_cast<const Scalar&>(c);
}
......@@ -694,7 +694,7 @@ static inline
Scalar operator * (const Matx<double, 4, 4>& a, const Scalar& b)
{
Matx<double, 4, 1> c(a, b, Matx_MatMulOp());
return reinterpret_cast<const Scalar&>(c);
return static_cast<const Scalar&>(c);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册