From d9a3533438ea0bf3ace712facfd01c9462390130 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sun, 10 May 2020 01:14:00 +0300 Subject: Small unification --- src/core/templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/templates.h b/src/core/templates.h index 69844fa4..4f7b8490 100644 --- a/src/core/templates.h +++ b/src/core/templates.h @@ -131,7 +131,7 @@ public: // TODO: the cast is unsafe return (int)((U*)entry - m_entries); } - int GetNoOfUsedSpaces(void){ + int GetNoOfUsedSpaces(void) const{ int i; int n = 0; for(i = 0; i < m_size; i++) -- cgit v1.2.3