修正OpenFileOutputStream调用FileOutputStream::Open没有正确传递mode的bug
This commit is contained in:
parent
b7329d10b5
commit
6b4feef78e
@ -71,7 +71,7 @@ namespace hgl
|
||||
{
|
||||
fos=new FileOutputStream();
|
||||
|
||||
if(!fos->Open(filename))
|
||||
if(!fos->Open(filename,mode))
|
||||
{
|
||||
delete fos;
|
||||
fos=nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user