From 557cba806880152073c5bea46bd446761f6b8e2a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 16:33:09 +0300 Subject: Autocommit at 05.05.2022 @ 16:33 --- src/String/String.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/String/String.cpp') 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); } -- cgit v1.3.1-23-gd82d