summaryrefslogtreecommitdiff
path: root/core/templates
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-05-09 12:47:10 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-07-06 14:12:36 +0300
commit344ba0ffaf3f7d39bd5a1304ba6a6070d442a963 (patch)
tree318acb34fb6d8915522c0c05e5c9fb916f8e1227 /core/templates
parentcf194847468e00de682074a14b2cf4ccf7b69188 (diff)
Refactor Font configuration and import UI, and Font resources.
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/lru.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/lru.h b/core/templates/lru.h
index 55130cbeb0..b08b6455b6 100644
--- a/core/templates/lru.h
+++ b/core/templates/lru.h
@@ -102,6 +102,7 @@ public:
}
_FORCE_INLINE_ size_t get_capacity() const { return capacity; }
+ _FORCE_INLINE_ size_t get_size() const { return _map.size(); }
void set_capacity(size_t p_capacity) {
if (capacity > 0) {