Merge pull request #14394 from alalek:build_support_memory_sanitizers

This commit is contained in:
Alexander Alekhin
2019-04-26 16:13:52 +00:00
3 changed files with 8 additions and 0 deletions
@@ -116,7 +116,11 @@ CV_EXPORTS void setUseCollection(bool flag); // set implementation collection st
}
\endcode
*/
#ifdef OPENCV_ENABLE_MEMORY_SANITIZER
template<typename _Tp, size_t fixed_size = 0> class AutoBuffer
#else
template<typename _Tp, size_t fixed_size = 1024/sizeof(_Tp)+8> class AutoBuffer
#endif
{
public:
typedef _Tp value_type;