summaryrefslogtreecommitdiffstats
path: root/src/core/templates.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-10 00:14:00 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-10 00:14:00 +0200
commitd9a3533438ea0bf3ace712facfd01c9462390130 (patch)
treea792674f9abdc48fdbd2cce4dd664390d28a6640 /src/core/templates.h
parentMerge pull request #529 from Nick007J/master (diff)
downloadre3-d9a3533438ea0bf3ace712facfd01c9462390130.tar
re3-d9a3533438ea0bf3ace712facfd01c9462390130.tar.gz
re3-d9a3533438ea0bf3ace712facfd01c9462390130.tar.bz2
re3-d9a3533438ea0bf3ace712facfd01c9462390130.tar.lz
re3-d9a3533438ea0bf3ace712facfd01c9462390130.tar.xz
re3-d9a3533438ea0bf3ace712facfd01c9462390130.tar.zst
re3-d9a3533438ea0bf3ace712facfd01c9462390130.zip
Diffstat (limited to 'src/core/templates.h')
-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++)