fixed: return by const ref

This commit is contained in:
Arne Morten Kvarving 2020-01-13 11:50:28 +01:00
parent 13db196c5c
commit df5baad233

View File

@ -50,9 +50,9 @@ public:
{
}
const index_type getIndex() const { return m_map; }
const index_type& getIndex() const { return m_map; }
const storage_type getStorage() const { return m_vector; }
const storage_type& getStorage() const { return m_vector; }
std::size_t count(const K& key) const {
return this->m_map.count(key);