mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 02:42:25 +00:00
fix string_icase_map.(#10)
This commit is contained in:
@@ -5,11 +5,9 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
struct strICaseComp
|
struct strICaseComp {
|
||||||
{
|
bool operator()(const std::string &lhs, const std::string &rhs) const {
|
||||||
bool operator() (const std::string &lhs, const std::string &rhs) const
|
return strcasecmp(lhs.c_str(), rhs.c_str()) > 0;
|
||||||
{
|
|
||||||
return strcasecmp(lhs.c_str(), rhs.c_str());
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user