diff options
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/String/String.cpp | 2 |
diff --git a/src/String/String.cpp b/src/String/String.cpp index 5cd8ca3..61f577f 100644 --- a/src/String/String.cpp +++ b/src/String/String.cpp @@ -55,7 +55,7 @@ String& String::operator=(String&& other) { return *this; } -int String::compare(const String& other) { +int String::compare(const String& other) const { return strcmp(str, other.str); } |
