commit | 8039c496804539fdb8447a1f9378000550ed1d9b | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Dec 21 02:34:35 2017 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Dec 21 02:34:35 2017 +0000 |
tree | ccd4cc37fb389bb802a1e89daefdd6b1f0a97905 | |
parent | 2c5f914584704878d6d1e0225304bd48844329e3 [diff] | |
parent | 6db9af039259aa6682577f369f2bc8eee1ba6fde [diff] |
Merge "EndsWith now accepts std::string suffixes."
diff --git a/tests/dlfcn_symlink_support.cpp b/tests/dlfcn_symlink_support.cpp index be1839e..a5d3c3e 100644 --- a/tests/dlfcn_symlink_support.cpp +++ b/tests/dlfcn_symlink_support.cpp
@@ -44,7 +44,7 @@ return 0; } - if (android::base::EndsWith(info->dlpi_name, suffix.c_str())) { + if (android::base::EndsWith(info->dlpi_name, suffix)) { std::string* path = reinterpret_cast<std::string*>(data); *path = info->dlpi_name; return 1; // found