Util: Print to provided file stream
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user