sources moved to C++20
This commit is contained in:
@@ -18,9 +18,8 @@ struct CUBE_VALUE
|
||||
DWORD vnum;
|
||||
int count;
|
||||
|
||||
bool operator == (const CUBE_VALUE& b)
|
||||
{
|
||||
return (this->count == b.count) && (this->vnum == b.vnum);
|
||||
bool operator == (const CUBE_VALUE& b) const {
|
||||
return std::tie(vnum, count) == std::tie(b.vnum, b.count);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -638,7 +638,8 @@ int start(int argc, char **argv)
|
||||
}
|
||||
#endif
|
||||
|
||||
while ((ch = getopt(argc, argv, "npverltI")) != -1)
|
||||
char optstring[] = "npverltI";
|
||||
while ((ch = getopt(argc, argv, optstring)) != -1)
|
||||
{
|
||||
char* ep = NULL;
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ const char* first_han(const BYTE* str)
|
||||
{
|
||||
unsigned char high, low;
|
||||
int len, i;
|
||||
char* p = "그외";
|
||||
const char* p = "그외";
|
||||
|
||||
static const char* wansung[] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user