summaryrefslogtreecommitdiff
path: root/src/mongo/watchdog/watchdog_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/watchdog/watchdog_test.cpp')
-rw-r--r--src/mongo/watchdog/watchdog_test.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/watchdog/watchdog_test.cpp b/src/mongo/watchdog/watchdog_test.cpp
index aa096f3dd09..090731c9cd6 100644
--- a/src/mongo/watchdog/watchdog_test.cpp
+++ b/src/mongo/watchdog/watchdog_test.cpp
@@ -214,11 +214,9 @@ public:
}
// Ignore data races in this function when running with TSAN, races are acceptable here
-#if defined(__has_feature)
#if __has_feature(thread_sanitizer)
__attribute__((no_sanitize("thread")))
#endif
-#endif
void
setSignalOnCount(int c) {
_wait = c;