summaryrefslogtreecommitdiffstats
path: root/src/linkedmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/linkedmap.h')
-rw-r--r--src/linkedmap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linkedmap.h b/src/linkedmap.h
index 84c4a91..84dcf26 100644
--- a/src/linkedmap.h
+++ b/src/linkedmap.h
@@ -93,7 +93,7 @@ class LinkedMap
const_iterator begin() const { return m_entries.cbegin(); }
const_iterator end() const { return m_entries.cend(); }
bool empty() const { return m_entries.empty(); }
- int size() const { return m_entries.size(); }
+ size_t size() const { return m_entries.size(); }
void clear()
{
@@ -159,7 +159,7 @@ class LinkedRefMap
const_iterator begin() const { return m_entries.cbegin(); }
const_iterator end() const { return m_entries.cend(); }
bool empty() const { return m_entries.empty(); }
- int size() const { return m_entries.size(); }
+ size_t size() const { return m_entries.size(); }
void clear()
{