Fixed a typo
authorkhizmax <libcds.dev@gmail.com>
Tue, 29 Nov 2016 20:45:15 +0000 (23:45 +0300)
committerkhizmax <libcds.dev@gmail.com>
Tue, 29 Nov 2016 20:45:15 +0000 (23:45 +0300)
cds/compiler/feature_tsan.h

index 7703be40ca1c23db47aca63002737adb90a0fd2d..5cf2886f6325764c6ada2b1d191adbd0b9fa0437 100644 (file)
@@ -53,7 +53,7 @@
 #   define CDS_TSAN_ANNOTATE_NEW_MEMORY( addr, sz ) AnnotateNewMemory( (char *) __FILE__, __LINE__, reinterpret_cast<void *>(addr), sz )
 
 #   define CDS_TSAN_ANNOTATE_MUTEX_CREATE( addr )    AnnotateRWLockCreate( __FILE__, __LINE__, reinterpret_cast<void *>(addr))
-#   define CDS_TSAN_ANNOTATE_MUTEX_DESTROY( addr )   AnnotateRWLockdESTROY( __FILE__, __LINE__, reinterpret_cast<void *>(addr))
+#   define CDS_TSAN_ANNOTATE_MUTEX_DESTROY( addr )   AnnotateRWLockDestroy( __FILE__, __LINE__, reinterpret_cast<void *>(addr))
         // must be called after actual acquire
 #   define CDS_TSAN_ANNOTATE_MUTEX_ACQUIRED( addr )  AnnotateRWLockAcquired( __FILE__, __LINE__, reinterpret_cast<void *>(addr), 1 )
         // must be called before actual release