chore: remove unused CaselessCmp::cmpEqual
This commit is contained in:
parent
378fdae140
commit
df8500178b
2 changed files with 0 additions and 9 deletions
|
|
@ -319,11 +319,5 @@ bool CaselessCmp::cmpLess(const std::string::value_type &a, const std::string::v
|
||||||
return tolower(a) < tolower(b);
|
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 string
|
||||||
} // namespace deskflow
|
} // namespace deskflow
|
||||||
|
|
|
||||||
|
|
@ -136,9 +136,6 @@ public:
|
||||||
|
|
||||||
//! Returns true iff \c a is lexicographically less than \c b
|
//! 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);
|
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
|
} // namespace string
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue