Use .empty() instead of '!= ""'

R=phoglund@webrtc.org

Bug: None
Change-Id: I963d388de5be2eddf5094b0583178b2059fb4509
Reviewed-on: https://webrtc-review.googlesource.com/37940
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Edward Lemur <ehmaldonado@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21530}
This commit is contained in:
Edward Lemur 2018-01-08 15:52:14 +01:00 committed by Commit Bot
parent 7f331fa2fb
commit 3460fa6ef1

View File

@ -88,7 +88,7 @@ int main(int argc, char* argv[]) {
int exit_code = RUN_ALL_TESTS();
std::string chartjson_result_file = FLAG_chartjson_result_file;
if (chartjson_result_file != "") {
if (!chartjson_result_file.empty()) {
webrtc::test::WritePerfResults(chartjson_result_file);
}