diff --git a/build_cpp.sh b/build_cpp.sh index 0ab68f89..b34d05d9 100644 --- a/build_cpp.sh +++ b/build_cpp.sh @@ -1 +1 @@ -g++ -o pocketpy src/main.cpp --std=c++17 -O1 -pthread -Wno-literal-suffix \ No newline at end of file +g++ -o pocketpy src/main.cpp --std=c++17 -O1 -pthread \ No newline at end of file diff --git a/src/str.h b/src/str.h index 24ea3e57..f641ee90 100644 --- a/src/str.h +++ b/src/str.h @@ -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; }