summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/templates.h2
1 files changed, 1 insertions, 1 deletions
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++)