Pārlūkot izejas kodu

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

master
bergmann pirms 6 gadiem
vecāks
revīzija
33b90c8cac
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      include/cppcore/misc/vector_streambuf.inl

+ 1
- 1
include/cppcore/misc/vector_streambuf.inl Parādīt failu

@@ -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;


Notiek ielāde…
Atcelt
Saglabāt