Chromium Code Reviews| Index: webrtc/video/rampup_tests.cc |
| diff --git a/webrtc/video/rampup_tests.cc b/webrtc/video/rampup_tests.cc |
| index 21b442339061174394bf175c83ad053685a28afd..a9d9447fd6a787374067b74f03a8662c91420bf4 100644 |
| --- a/webrtc/video/rampup_tests.cc |
| +++ b/webrtc/video/rampup_tests.cc |
| @@ -322,9 +322,7 @@ Call::Config RampUpDownUpTester::GetReceiverCallConfig() { |
| std::string RampUpDownUpTester::GetModifierString() const { |
| std::string str("_"); |
| - char temp_str[5]; |
| - sprintf(temp_str, "%i", static_cast<int>(num_streams_)); |
| - str += std::string(temp_str); |
| + str += std::to_string(num_streams_); |
|
pbos-webrtc
2015/12/09 11:21:49
C++11 library feature, not permitted yet.
Conside
mflodman
2015/12/09 13:49:36
Done.
|
| str += "stream"; |
| str += (num_streams_ > 1 ? "s" : ""); |
| str += "_"; |