Explorar el Código

* Fixed bug in vector_streambuf: convert_cast to char_type failed. replaced by static_cast.

master
bergmann hace 6 años
padre
commit
33b90c8cac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      include/cppcore/misc/vector_streambuf.inl

+ 1
- 1
include/cppcore/misc/vector_streambuf.inl Ver fichero

@@ -90,7 +90,7 @@ namespace cppcore

auto p = this->pptr();
assert(this->pbase() <= p && p < this->epptr());
*p = convert_cast<char_type>(ch);
*p = static_cast<char_type>(ch);
this->pbump(1);
}
return ch;


Cargando…
Cancelar
Guardar