From 7b94db81220316250bc124830c2f0ed5fd78ec62 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 21 Apr 2023 15:44:20 +0200 Subject: Remove unnecessary const to silence compiler warning --- src/Array.cpp | 2 +- src/Dictionary.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Array.cpp b/src/Array.cpp index 7826494..d86d021 100644 --- a/src/Array.cpp +++ b/src/Array.cpp @@ -128,7 +128,7 @@ Array::const_iterator Array::end() const return _array.end(); } -const size_t Array::size() const { +size_t Array::size() const { return _array.size(); } diff --git a/src/Dictionary.cpp b/src/Dictionary.cpp index 99e3b88..4e7e19c 100644 --- a/src/Dictionary.cpp +++ b/src/Dictionary.cpp @@ -134,7 +134,7 @@ Dictionary::const_iterator Dictionary::end() const return _map.end(); } -const size_t Dictionary::size() const { +size_t Dictionary::size() const { return _map.size(); } -- cgit v1.1-32-gdbae