mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +00:00
remove some useless code
This commit is contained in:
parent
d0fa268245
commit
0b1ba59024
@ -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
|
@ -150,14 +150,6 @@ public:
|
|||||||
return *_s != *other._s;
|
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 {
|
bool operator<(const _Str& other) const {
|
||||||
return *_s < *other._s;
|
return *_s < *other._s;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user