fix copyTo memory corruption, but the main problem is still here

This commit is contained in:
Alexander Alekhin
2015-07-01 20:08:36 +03:00
parent 30a5a9ed34
commit 885114ed2c
4 changed files with 11 additions and 1 deletions

View File

@@ -222,6 +222,7 @@ public:
bool isMatVector() const;
bool isUMatVector() const;
bool isMatx() const;
bool isVector() const;
~_InputArray();

View File

@@ -130,6 +130,7 @@ inline bool _InputArray::isUMat() const { return kind() == _InputArray::UMAT; }
inline bool _InputArray::isMatVector() const { return kind() == _InputArray::STD_VECTOR_MAT; }
inline bool _InputArray::isUMatVector() const { return kind() == _InputArray::STD_VECTOR_UMAT; }
inline bool _InputArray::isMatx() const { return kind() == _InputArray::MATX; }
inline bool _InputArray::isVector() const { return kind() == _InputArray::STD_VECTOR || kind() == _InputArray::STD_BOOL_VECTOR; }
////////////////////////////////////////////////////////////////////////////////////////