Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2018-09-06 15:11:38 +0300
committerAleksey Belousov <beloal@users.noreply.github.com>2018-09-25 12:33:08 +0300
commit320c691763deb4d0483cca1f82ee8f0f75b26623 (patch)
tree980ca50b9e9a08c792f0a4bb5f88c1c29ce46f8e /drape/attribute_provider.cpp
parentc2e13ae8d6d39ef659dad657828bde165e31ea78 (diff)
[drape][metal] Removed obsolete std usage, minor fixes.
Diffstat (limited to 'drape/attribute_provider.cpp')
-rw-r--r--drape/attribute_provider.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/drape/attribute_provider.cpp b/drape/attribute_provider.cpp
index 768bcee738..9623b9c237 100644
--- a/drape/attribute_provider.cpp
+++ b/drape/attribute_provider.cpp
@@ -2,7 +2,7 @@
#include "base/assert.hpp"
#ifdef DEBUG
- #define INIT_CHECK_INFO(x) m_checkInfo = vector<bool>((vector<bool>::size_type)(x), false);
+ #define INIT_CHECK_INFO(x) m_checkInfo = std::vector<bool>((std::vector<bool>::size_type)(x), false);
#define CHECK_STREAMS CheckStreams()
#define INIT_STREAM(x) InitCheckStream((x))
#else
@@ -14,7 +14,6 @@
namespace dp
{
-
AttributeProvider::AttributeProvider(uint8_t streamCount, uint32_t vertexCount)
: m_vertexCount(vertexCount)
{
@@ -22,7 +21,6 @@ AttributeProvider::AttributeProvider(uint8_t streamCount, uint32_t vertexCount)
INIT_CHECK_INFO(streamCount);
}
-/// interface for batcher
bool AttributeProvider::IsDataExists() const
{
CHECK_STREAMS;
@@ -108,5 +106,4 @@ void AttributeProvider::InitCheckStream(uint8_t streamIndex)
m_checkInfo[streamIndex] = true;
}
#endif
-
-}
+} // namespace dp