X-Git-Url: https://git.saurik.com/apt-legacy.git/blobdiff_plain/734f3daf66a61afa84067682754515f524b3a84c..b6d30aa2a834513b9bd1317d71f930d172b281da:/apt-pkg/srkstring.h?ds=sidebyside diff --git a/apt-pkg/srkstring.h b/apt-pkg/srkstring.h index a8fa123..7e90ed2 100644 --- a/apt-pkg/srkstring.h +++ b/apt-pkg/srkstring.h @@ -51,11 +51,6 @@ class srkString operator std::string() { std::string Str; Str.assign(Start, Size); return Str; } }; -int stringcasecmp(const char *lhsb, const char *lhse, const char *rhs); -inline int stringcasecmp(const srkString &lhs, const char *rhs) { - return stringcasecmp(lhs.Start, lhs.Start + lhs.Size, rhs); -} - int stringcmp(const std::string &lhs, const char *rhsb, const char *rhse); inline bool operator ==(const std::string &lhs, const srkString &rhs) { return stringcmp(lhs, rhs.begin(), rhs.end()) == 0;