Chromium Code Reviews| Index: webrtc/base/logging.cc |
| diff --git a/webrtc/base/logging.cc b/webrtc/base/logging.cc |
| index 686b9b2b02b482e104f7daab6eb5f4bde336821d..3d79b53d6a0650f90d94181a7389f1a55f6af29b 100644 |
| --- a/webrtc/base/logging.cc |
| +++ b/webrtc/base/logging.cc |
| @@ -169,10 +169,14 @@ LogMessage::LogMessage(const char* file, |
| #endif // WEBRTC_WIN |
| #if defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) |
| case ERRCTX_OSSTATUS: { |
| +// TODO(5478): Update deprecated APIs. |
|
kjellander_webrtc
2016/02/01 06:08:29
Use proper format for TODOs (see previous comment)
hjon_webrtc
2016/02/02 23:03:50
Done.
|
| +#pragma clang diagnostic push |
| +#pragma clang diagnostic ignored "-Wdeprecated" |
| tmp << " " << nonnull(GetMacOSStatusErrorString(err), "Unknown error"); |
| if (const char* desc = GetMacOSStatusCommentString(err)) { |
| tmp << ": " << desc; |
| } |
| +#pragma clang diagnostic pop |
| break; |
| } |
| #endif // WEBRTC_MAC && !defined(WEBRTC_IOS) |