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 7703be4..5cf2886 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