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:
authorExMix <rahuba.youri@mapswithme.com>2013-12-15 15:42:14 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:08:55 +0300
commit82ec0dbcb54fca347464e7bd1d694fd97d71c580 (patch)
treef294edc68647811e0c368249862bd92a2344a181 /drape/attribute_provider.cpp
parent627724b1dafd39385170c8eb0cc17fb80cfe9ece (diff)
pointers refactoring
Diffstat (limited to 'drape/attribute_provider.cpp')
-rw-r--r--drape/attribute_provider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drape/attribute_provider.cpp b/drape/attribute_provider.cpp
index 6c677ba7b6..df6274f03a 100644
--- a/drape/attribute_provider.cpp
+++ b/drape/attribute_provider.cpp
@@ -59,7 +59,7 @@ void AttributeProvider::Advance(uint16_t vertexCount)
const BindingInfo & info = m_streams[i].m_binding;
uint32_t offset = vertexCount * info.GetElementSize();
void * rawPointer = m_streams[i].m_data.GetRaw();
- m_streams[i].m_data = ReferencePoiner<void>((void *)(((uint8_t *)rawPointer) + offset));
+ m_streams[i].m_data = MakeStackRefPointer((void *)(((uint8_t *)rawPointer) + offset));
}
m_vertexCount -= vertexCount;
@@ -67,7 +67,7 @@ void AttributeProvider::Advance(uint16_t vertexCount)
void AttributeProvider::InitStream(uint8_t streamIndex,
const BindingInfo &bindingInfo,
- ReferencePoiner<void> data)
+ RefPointer<void> data)
{
ASSERT_LESS(streamIndex, GetStreamCount(), ());
AttributeStream s;