Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Unified Diff: webrtc/base/swap_queue.h

Issue 2797983003: Make WARN_UNUSED_RESULT a no-op on gcc (Closed)
Patch Set: RTC_ prefix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/swap_queue.h
diff --git a/webrtc/base/swap_queue.h b/webrtc/base/swap_queue.h
index 1851309bd7356d808dc45fadad23622bbcb4ea8b..acb16b49a0d9850a0c1de2f4a69f0b4c5b24bb64 100644
--- a/webrtc/base/swap_queue.h
+++ b/webrtc/base/swap_queue.h
@@ -118,7 +118,7 @@ class SwapQueue {
// When specified, the T given in *input must pass the ItemVerifier() test.
// The contents of *input after the call are then also guaranteed to pass the
// ItemVerifier() test.
- bool Insert(T* input) WARN_UNUSED_RESULT {
+ bool Insert(T* input) RTC_WARN_UNUSED_RESULT {
RTC_DCHECK(input);
rtc::CritScope cs(&crit_queue_);
@@ -151,7 +151,7 @@ class SwapQueue {
// empty). When specified, The T given in *output must pass the ItemVerifier()
// test and the contents of *output after the call are then also guaranteed to
// pass the ItemVerifier() test.
- bool Remove(T* output) WARN_UNUSED_RESULT {
+ bool Remove(T* output) RTC_WARN_UNUSED_RESULT {
RTC_DCHECK(output);
rtc::CritScope cs(&crit_queue_);
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/codecs/ilbc/cb_construct.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698