summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorErik Kline2018-02-27 01:12:23 -0600
committerErik Kline2018-02-27 01:12:55 -0600
commitb154d18d110439b86dfbeb498318948cbebe42b1 (patch)
treeaad9041c4ec4a9a039b73f1e7771ca5fffe1f8c3 /base
parent89063827b195056628f80ba13fedf4c8917c3d51 (diff)
downloadplatform-system-core-b154d18d110439b86dfbeb498318948cbebe42b1.tar.gz
platform-system-core-b154d18d110439b86dfbeb498318948cbebe42b1.tar.xz
platform-system-core-b154d18d110439b86dfbeb498318948cbebe42b1.zip
EndsWith *suffix*
Possibly an old copy and paste error. Test: built Change-Id: Ie86203d65b4021ed4b787d2330729ab0b1d73e9d
Diffstat (limited to 'base')
-rw-r--r--base/include/android-base/strings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/include/android-base/strings.h b/base/include/android-base/strings.h
index c11acb10d..4d9fa3404 100644
--- a/base/include/android-base/strings.h
+++ b/base/include/android-base/strings.h
@@ -67,8 +67,8 @@ bool StartsWithIgnoreCase(const std::string& s, const std::string& prefix);
67// TODO: string_view 67// TODO: string_view
68bool EndsWith(const std::string& s, const char* suffix); 68bool EndsWith(const std::string& s, const char* suffix);
69bool EndsWithIgnoreCase(const std::string& s, const char* suffix); 69bool EndsWithIgnoreCase(const std::string& s, const char* suffix);
70bool EndsWith(const std::string& s, const std::string& prefix); 70bool EndsWith(const std::string& s, const std::string& suffix);
71bool EndsWithIgnoreCase(const std::string& s, const std::string& prefix); 71bool EndsWithIgnoreCase(const std::string& s, const std::string& suffix);
72 72
73// Tests whether 'lhs' equals 'rhs', ignoring case. 73// Tests whether 'lhs' equals 'rhs', ignoring case.
74bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs); 74bool EqualsIgnoreCase(const std::string& lhs, const std::string& rhs);