fix "CreateTextOutputStream" call namespace error.

This commit is contained in:
hyzboy 2020-01-24 00:16:04 +08:00
parent 2f96255420
commit 45f80fb7f7

View File

@ -11,8 +11,6 @@ namespace hgl
namespace logger
{
io::TextOutputStream *CreateTextOutputStream(io::OutputStream *);
class LogFile:public Logger
{
ThreadMutex lock;
@ -62,7 +60,7 @@ namespace hgl
if(fos.CreateTrunc(filename))//创建成功
{
tos=CreateTextOutputStream(&fos);
tos=io::CreateTextOutputStream<os_char>(&fos);
tos->WriteBOM();
return(true);