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

Unified Diff: webrtc/modules/audio_coding/test/TwoWayCommunication.cc

Issue 2685783014: Replace NULL with nullptr in all C++ files. (Closed)
Patch Set: Fixing android. Created 3 years, 10 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
Index: webrtc/modules/audio_coding/test/TwoWayCommunication.cc
diff --git a/webrtc/modules/audio_coding/test/TwoWayCommunication.cc b/webrtc/modules/audio_coding/test/TwoWayCommunication.cc
index f575b2a0a42c5827627b767949d4b0193c01ff32..122d966fb82135cc7514c06e3bb0b5784f7a536d 100644
--- a/webrtc/modules/audio_coding/test/TwoWayCommunication.cc
+++ b/webrtc/modules/audio_coding/test/TwoWayCommunication.cc
@@ -74,11 +74,11 @@ void TwoWayCommunication::ChooseCodec(uint8_t* codecID_A,
}
printf("\nChoose a send codec for side A [0]: ");
char myStr[15] = "";
- EXPECT_TRUE(fgets(myStr, 10, stdin) != NULL);
+ EXPECT_TRUE(fgets(myStr, 10, stdin) != nullptr);
*codecID_A = (uint8_t) atoi(myStr);
printf("\nChoose a send codec for side B [0]: ");
- EXPECT_TRUE(fgets(myStr, 10, stdin) != NULL);
+ EXPECT_TRUE(fgets(myStr, 10, stdin) != nullptr);
*codecID_B = (uint8_t) atoi(myStr);
printf("\n");

Powered by Google App Engine
This is Rietveld 408576698