aboutsummaryrefslogtreecommitdiff
path: root/webrtc/base/criticalsection.h
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/base/criticalsection.h')
-rw-r--r--webrtc/base/criticalsection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/base/criticalsection.h b/webrtc/base/criticalsection.h
index ddbf857f2b..5b3eaf5684 100644
--- a/webrtc/base/criticalsection.h
+++ b/webrtc/base/criticalsection.h
@@ -89,7 +89,7 @@ class TryCritScope {
#if defined(WEBRTC_WIN)
_Check_return_ bool locked() const;
#else
- bool locked() const __attribute__((warn_unused_result));
+ bool locked() const __attribute__ ((__warn_unused_result__));
#endif
private:
CriticalSection* const cs_;