diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-01-02 04:51:42 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:08:58 +0300 |
commit | c717601ccf347f7be262d904131562d80de71330 (patch) | |
tree | 92e2b6d069beea461578f708edb083c190d75772 /coding/streams_sink.hpp | |
parent | 657de04795b50e2f6307486179d59e311e1a156a (diff) |
Fixed std::serialization for *int16_t types
Diffstat (limited to 'coding/streams_sink.hpp')
-rw-r--r-- | coding/streams_sink.hpp | 10 |
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) { |