Fixed equals on zstring when length mismatches occured.
This commit is contained in:
1 parent
deb88cb14d
commit
191899fbb7
2 files changed
+24
-11
No files matched your search
@@ -58,7 +58,6 @@ namespace coreutils {
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& os, const ZString& zstring);
|
||||
friend std::ostream& operator<<(std::ostream& os, const std::string& string);
|
||||
|
||||
friend std::ostream& operator+(std::ostream& os, const ZString& zstring);
|
||||
|
||||
///
|
||||
@@ -131,19 +130,25 @@ namespace coreutils {
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
|
||||
bool equals(const char *value);
|
||||
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
|
||||
bool equals(char *value);
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
bool equals(ZString &zstring);
|
||||
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
|
||||
bool equals(std::string &string);
|
||||
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user