Fix typo that prevents compilation with sanitizer.

pull/22123/head
Vincent Rabaud 2 years ago
parent 3efc645975
commit 0d52c37e11
  1. 2
      modules/core/src/hal_internal.cpp

@ -67,7 +67,7 @@
#if defined(__clang__) && defined(__has_feature) #if defined(__clang__) && defined(__has_feature)
#if __has_feature(memory_sanitizer) #if __has_feature(memory_sanitizer)
#define CV_ANNOTATE_MEMORY_IS_INITIALIZED(address, size) \ #define CV_ANNOTATE_MEMORY_IS_INITIALIZED(address, size) \
__msan_unpoison(adresse, size) __msan_unpoison(address, size)
#endif #endif
#endif #endif
#ifndef CV_ANNOTATE_MEMORY_IS_INITIALIZED #ifndef CV_ANNOTATE_MEMORY_IS_INITIALIZED

Loading…
Cancel
Save