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:
authorAlex Zolotarev <deathbaba@gmail.com>2010-12-29 02:55:36 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:08:57 +0300
commit06deb7a6b76d600bc9c960652417993b9e589ad5 (patch)
tree4138e6a25b0576f23b232617add57288a3f3c5e0 /coding/streams_sink.hpp
parent0ac036f21605040627fea31dc69d9001694b8a2e (diff)
Refactored storage engine
Diffstat (limited to 'coding/streams_sink.hpp')
-rw-r--r--coding/streams_sink.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/coding/streams_sink.hpp b/coding/streams_sink.hpp
index b27197a992..3e44c870c4 100644
--- a/coding/streams_sink.hpp
+++ b/coding/streams_sink.hpp
@@ -29,6 +29,11 @@ namespace stream
t = ReadPrimitiveFromSource<uint32_t>(m_reader);
return (*this);
}
+ SinkReaderStream & operator >> (uint16_t & t)
+ {
+ t = ReadPrimitiveFromSource<uint16_t>(m_reader);
+ return (*this);
+ }
SinkReaderStream & operator >> (int64_t & t)
{
t = ReadPrimitiveFromSource<int64_t>(m_reader);
@@ -39,6 +44,11 @@ namespace stream
t = ReadPrimitiveFromSource<int32_t>(m_reader);
return (*this);
}
+ SinkReaderStream & operator >> (int16_t & t)
+ {
+ t = ReadPrimitiveFromSource<int16_t>(m_reader);
+ return (*this);
+ }
SinkReaderStream & operator >> (bool & t)
{