chore: remove unused CaselessCmp::cmpEqual
This commit is contained in:
@ -319,11 +319,5 @@ bool CaselessCmp::cmpLess(const std::string::value_type &a, const std::string::v
|
||||
return tolower(a) < tolower(b);
|
||||
}
|
||||
|
||||
bool CaselessCmp::cmpEqual(const std::string::value_type &a, const std::string::value_type &b)
|
||||
{
|
||||
// should use std::tolower but not in all versions of libstdc++ have it
|
||||
return tolower(a) == tolower(b);
|
||||
}
|
||||
|
||||
} // namespace string
|
||||
} // namespace deskflow
|
||||
|
||||
@ -136,9 +136,6 @@ public:
|
||||
|
||||
//! Returns true iff \c a is lexicographically less than \c b
|
||||
static bool cmpLess(const std::string::value_type &a, const std::string::value_type &b);
|
||||
|
||||
//! Returns true iff \c a is lexicographically equal to \c b
|
||||
static bool cmpEqual(const std::string::value_type &a, const std::string::value_type &b);
|
||||
};
|
||||
|
||||
} // namespace string
|
||||
|
||||
Reference in New Issue
Block a user