2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 16:24:55 +00:00

Fix PyOutStream streambuf for MS STL

This commit is contained in:
Jack Andersen
2020-04-10 18:58:06 -10:00
parent 8fd6664984
commit 7ce829d134
5 changed files with 28 additions and 9 deletions

View File

@@ -82,6 +82,7 @@ class PyOutStream : public std::ostream {
StreamBuf(const StreamBuf& other) = delete;
StreamBuf(StreamBuf&& other) = default;
bool sendLine(std::string_view line);
int_type overflow(int_type ch) override;
std::streamsize xsputn(const char_type* __s, std::streamsize __n) override;
} m_sbuf;
PyOutStream(Connection* parent, bool deleteOnError);