diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2018-09-06 15:11:38 +0300 |
---|---|---|
committer | Aleksey Belousov <beloal@users.noreply.github.com> | 2018-09-25 12:33:08 +0300 |
commit | 320c691763deb4d0483cca1f82ee8f0f75b26623 (patch) | |
tree | 980ca50b9e9a08c792f0a4bb5f88c1c29ce46f8e /drape/index_storage.hpp | |
parent | c2e13ae8d6d39ef659dad657828bde165e31ea78 (diff) |
[drape][metal] Removed obsolete std usage, minor fixes.
Diffstat (limited to 'drape/index_storage.hpp')
-rw-r--r-- | drape/index_storage.hpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/drape/index_storage.hpp b/drape/index_storage.hpp index 447f28d351..0a5a8714aa 100644 --- a/drape/index_storage.hpp +++ b/drape/index_storage.hpp @@ -1,16 +1,15 @@ #pragma once -#include "std/vector.hpp" -#include "std/cstdint.hpp" +#include <cstdint> +#include <vector> namespace dp { - class IndexStorage { public: IndexStorage(); - IndexStorage(vector<uint32_t> && initial); + explicit IndexStorage(std::vector<uint32_t> && initial); uint32_t Size() const; void Resize(uint32_t size); @@ -22,11 +21,9 @@ public: static uint32_t SizeOfIndex(); private: - vector<uint32_t> m_storage; + std::vector<uint32_t> m_storage; uint32_t m_size; uint32_t GetStorageSize(uint32_t elementsCount) const; }; - - -} // namespace dp +} // namespace dp |