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
path: root/coding
diff options
context:
space:
mode:
authorExMix <Rahuba.youri@gmail.com>2013-02-26 11:45:12 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:51:14 +0300
commitcdc56d1fccb6ba180e51f4b9e8333a5081f23b12 (patch)
tree0bc53061b0092c4c5314341729efc72eabe6eb45 /coding
parent79daf332334c930e1734d02c69082a03fb61e7a4 (diff)
replace call data() from vector. Old compiler does not support
Diffstat (limited to 'coding')
-rw-r--r--coding/blob_indexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/coding/blob_indexer.cpp b/coding/blob_indexer.cpp
index ad7d35f584..a0b20a9cad 100644
--- a/coding/blob_indexer.cpp
+++ b/coding/blob_indexer.cpp
@@ -55,7 +55,7 @@ void BlobIndexer::FlushChunk()
if (!m_currentChunk.empty())
{
string compressedChunk;
- m_compressor(m_currentChunk.data(), m_currentChunk.size(), compressedChunk);
+ m_compressor(&m_currentChunk[0], m_currentChunk.size(), compressedChunk);
m_writer.Write(compressedChunk.data(), compressedChunk.size());
WriteToSink(m_writer, static_cast<uint32_t>(m_currentChunk.size()));
uint32_t const chunkPrevOffset = (m_chunkOffset.empty() ? 0 : m_chunkOffset.back());