diff --git a/include/Kyoto/Streams/CInputStream.hpp b/include/Kyoto/Streams/CInputStream.hpp index c78bbff0..6f1946b8 100644 --- a/include/Kyoto/Streams/CInputStream.hpp +++ b/include/Kyoto/Streams/CInputStream.hpp @@ -56,7 +56,10 @@ template inline T cinput_stream_helper(const TType& type, CInputStream& in) { return T(in); } - +template <> +inline bool cinput_stream_helper(const TType< bool >& type, CInputStream& in) { + return in.ReadBool(); +} template <> inline int cinput_stream_helper(const TType< int >& type, CInputStream& in) { return in.ReadLong();