From 186c74a6cab78829846b6ca885d9f70fb014615e Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Fri, 17 Jul 2020 12:24:20 +0200 Subject: [PATCH] Added the const specifier --- src/app/Dictionary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/Dictionary.h b/src/app/Dictionary.h index c72cd0e..06d87c1 100644 --- a/src/app/Dictionary.h +++ b/src/app/Dictionary.h @@ -34,7 +34,7 @@ namespace DictionaryHelper strcpy(_string, Object._string); } ~StringEntity(){free(_string);} - const char *getString(){return _string;} + const char *getString() const {return _string;} void setString(const char *string = NULL) { free(_string);_string = NULL;