Merge pull request #1285 from SpecLad:enum-compare

This commit is contained in:
Roman Donchenko 2013-08-19 12:00:18 +04:00 committed by OpenCV Buildbot
commit 473ca0849d

View File

@ -152,7 +152,7 @@ template <typename T> struct TypeTraits
template <typename A, typename B> struct LargerType
{
typedef typename SelectIf<
VecTraits<A>::cn != VecTraits<B>::cn,
unsigned(VecTraits<A>::cn) != unsigned(VecTraits<B>::cn),
void,
typename MakeVec<
typename type_traits_detail::LargerDepth<