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:
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;