From a3c46b63bd24720a8e23b0e8f219e0947109a7d9 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Tue, 23 Jun 2015 11:21:25 +0300 Subject: Review fixes --- drape/index_storage.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'drape/index_storage.hpp') 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 && initial); uint32_t Size() const; @@ -21,8 +21,10 @@ public: static uint32_t SizeOfIndex(); private: - vector m_storage16bit; - vector m_storage32bit; + vector m_storage; + uint32_t m_size; + + uint32_t GetStorageSize(uint32_t elementsCount) const; }; -- cgit v1.2.3