diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-05-11 02:46:42 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-05-11 02:46:43 +0000 |
commit | 0e986b8d5ddd1d41db18d8e6af1eb5c58fb3dbe8 (patch) | |
tree | c8859e5456fa11bdf53680030f793d3c4533dbc4 | |
parent | a93fcd039407955262e623d24c3f76e0fff91fb7 (diff) | |
parent | 828b9e162feaaa75692aa697649f40228df1695f (diff) | |
download | android_bionic-0e986b8d5ddd1d41db18d8e6af1eb5c58fb3dbe8.tar.gz android_bionic-0e986b8d5ddd1d41db18d8e6af1eb5c58fb3dbe8.tar.bz2 android_bionic-0e986b8d5ddd1d41db18d8e6af1eb5c58fb3dbe8.zip |
Merge "Fix clang-tidy perfomrance warnings."
-rw-r--r-- | tests/gtest_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gtest_main.cpp b/tests/gtest_main.cpp index 5f2832189..227b6d192 100644 --- a/tests/gtest_main.cpp +++ b/tests/gtest_main.cpp @@ -1065,7 +1065,7 @@ static bool PickOptions(std::vector<char*>& args, IsolationTestOptions& options) gtest_filter_str = "-bionic_selftest*"; } else { // Find if '-' for NEGATIVE_PATTERNS exists. - if (gtest_filter_str.find("-") != std::string::npos) { + if (gtest_filter_str.find('-') != std::string::npos) { gtest_filter_str += ":bionic_selftest*"; } else { gtest_filter_str += ":-bionic_selftest*"; |