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>2011-01-02 04:51:42 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:08:58 +0300
commitc717601ccf347f7be262d904131562d80de71330 (patch)
tree92e2b6d069beea461578f708edb083c190d75772 /coding/streams_sink.hpp
parent657de04795b50e2f6307486179d59e311e1a156a (diff)
Fixed std::serialization for *int16_t types
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 3e44c870c4..85f7dc22ad 100644
--- a/coding/streams_sink.hpp
+++ b/coding/streams_sink.hpp
@@ -85,6 +85,11 @@ namespace stream
WriteToSink(m_writer, t);
return (*this);
}
+ SinkWriterStream & operator << (uint16_t t)
+ {
+ WriteToSink(m_writer, t);
+ return (*this);
+ }
SinkWriterStream & operator << (int64_t t)
{
WriteToSink(m_writer, t);
@@ -95,6 +100,11 @@ namespace stream
WriteToSink(m_writer, t);
return (*this);
}
+ SinkWriterStream & operator << (int16_t t)
+ {
+ WriteToSink(m_writer, t);
+ return (*this);
+ }
SinkWriterStream & operator << (bool t)
{