summaryrefslogtreecommitdiff
path: root/deps/v8/src/base/platform/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/base/platform/semaphore.h')
-rw-r--r--deps/v8/src/base/platform/semaphore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/base/platform/semaphore.h b/deps/v8/src/base/platform/semaphore.h
index 31aeca3d9b..62c9c93988 100644
--- a/deps/v8/src/base/platform/semaphore.h
+++ b/deps/v8/src/base/platform/semaphore.h
@@ -47,7 +47,7 @@ class V8_BASE_EXPORT Semaphore final {
// Like Wait() but returns after rel_time time has passed. If the timeout
// happens the return value is false and the counter is unchanged. Otherwise
// the semaphore counter is decremented and true is returned.
- bool WaitFor(const TimeDelta& rel_time) WARN_UNUSED_RESULT;
+ bool WaitFor(const TimeDelta& rel_time) V8_WARN_UNUSED_RESULT;
#if V8_OS_MACOSX
typedef semaphore_t NativeHandle;