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

Unified Diff: webrtc/base/network.cc

Issue 2623313004: Replace RTC_DCHECK(false) with RTC_NOTREACHED(). (Closed)
Patch Set: Created 3 years, 11 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 | « webrtc/api/webrtcsession.cc ('k') | webrtc/base/stringencode.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/network.cc
diff --git a/webrtc/base/network.cc b/webrtc/base/network.cc
index a999fcb45c57cb008c9c4b64c9156af073088863..1eb62893226fdaa48980a7a64e81248ce8f4958a 100644
--- a/webrtc/base/network.cc
+++ b/webrtc/base/network.cc
@@ -111,7 +111,7 @@ std::string AdapterTypeToString(AdapterType type) {
case ADAPTER_TYPE_LOOPBACK:
return "Loopback";
default:
- RTC_DCHECK(false) << "Invalid type " << type;
+ RTC_NOTREACHED() << "Invalid type " << type;
return std::string();
}
}
« no previous file with comments | « webrtc/api/webrtcsession.cc ('k') | webrtc/base/stringencode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698