remove some useless code

This commit is contained in:
blueloveTH 2022-11-19 17:27:43 +08:00
parent d0fa268245
commit 0b1ba59024
2 changed files with 1 additions and 9 deletions

View File

@ -1 +1 @@
g++ -o pocketpy src/main.cpp --std=c++17 -O1 -pthread -Wno-literal-suffix
g++ -o pocketpy src/main.cpp --std=c++17 -O1 -pthread

View File

@ -150,14 +150,6 @@ public:
return *_s != *other._s;
}
bool operator==(const char* other) const {
return *_s == other;
}
bool operator!=(const char* other) const {
return *_s != other;
}
bool operator<(const _Str& other) const {
return *_s < *other._s;
}