fix "CreateTextOutputStream" call namespace error.
This commit is contained in:
parent
2f96255420
commit
45f80fb7f7
@ -11,8 +11,6 @@ namespace hgl
|
|||||||
|
|
||||||
namespace logger
|
namespace logger
|
||||||
{
|
{
|
||||||
io::TextOutputStream *CreateTextOutputStream(io::OutputStream *);
|
|
||||||
|
|
||||||
class LogFile:public Logger
|
class LogFile:public Logger
|
||||||
{
|
{
|
||||||
ThreadMutex lock;
|
ThreadMutex lock;
|
||||||
@ -62,7 +60,7 @@ namespace hgl
|
|||||||
|
|
||||||
if(fos.CreateTrunc(filename))//创建成功
|
if(fos.CreateTrunc(filename))//创建成功
|
||||||
{
|
{
|
||||||
tos=CreateTextOutputStream(&fos);
|
tos=io::CreateTextOutputStream<os_char>(&fos);
|
||||||
tos->WriteBOM();
|
tos->WriteBOM();
|
||||||
|
|
||||||
return(true);
|
return(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user