From 33b90c8cacf040e8b5dd44a96937acc84de1e619 Mon Sep 17 00:00:00 2001 From: bergmann Date: Sat, 14 Sep 2019 15:40:13 +0200 Subject: [PATCH] * Fixed bug in vector_streambuf: convert_cast to char_type failed. replaced by static_cast. --- include/cppcore/misc/vector_streambuf.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cppcore/misc/vector_streambuf.inl b/include/cppcore/misc/vector_streambuf.inl index ee0811d..b5900f0 100644 --- a/include/cppcore/misc/vector_streambuf.inl +++ b/include/cppcore/misc/vector_streambuf.inl @@ -90,7 +90,7 @@ namespace cppcore auto p = this->pptr(); assert(this->pbase() <= p && p < this->epptr()); - *p = convert_cast(ch); + *p = static_cast(ch); this->pbump(1); } return ch;