Util: Print to provided file stream

This commit is contained in:
Riyyi
2022-07-27 01:17:44 +02:00
parent 94906028fc
commit 3837ebef06
+1 -1
View File
@@ -77,7 +77,7 @@ FormatPrint::FormatPrint(FILE* file, Type type, bool bold)
FormatPrint::~FormatPrint() FormatPrint::~FormatPrint()
{ {
std::string string = m_stream.str(); std::string string = m_stream.str();
fputs(string.c_str(), stdout); fputs(string.c_str(), m_file);
} }
FormatPrint dbg() FormatPrint dbg()