chore: remove unused CaselessCmp::cmpEqual

This commit is contained in:
sithlord48
2025-03-24 20:59:47 -04:00
committed by Nick Bolton
parent 378fdae140
commit df8500178b
2 changed files with 0 additions and 9 deletions

View File

@ -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

View File

@ -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