diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-06-23 11:21:25 +0300 |
---|---|---|
committer | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2015-11-30 16:09:25 +0300 |
commit | a3c46b63bd24720a8e23b0e8f219e0947109a7d9 (patch) | |
tree | b84c88cfcb574a2b5f8d149c221a84bc8eb846d9 /drape/index_storage.hpp | |
parent | f243d859947c05a42d94e715d9f831bf3f88a1e0 (diff) |
Review fixes
Diffstat (limited to 'drape/index_storage.hpp')
-rw-r--r-- | drape/index_storage.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drape/index_storage.hpp b/drape/index_storage.hpp index 6ae9d8c3a7..79225b5a74 100644 --- a/drape/index_storage.hpp +++ b/drape/index_storage.hpp @@ -8,7 +8,7 @@ namespace dp class IndexStorage { public: - IndexStorage() = default; + IndexStorage(); IndexStorage(vector<uint32_t> && initial); uint32_t Size() const; @@ -21,8 +21,10 @@ public: static uint32_t SizeOfIndex(); private: - vector<uint16_t> m_storage16bit; - vector<uint32_t> m_storage32bit; + vector<uint32_t> m_storage; + uint32_t m_size; + + uint32_t GetStorageSize(uint32_t elementsCount) const; }; |