修正OpenFileOutputStream调用FileOutputStream::Open没有正确传递mode的bug

This commit is contained in:
hyzboy 2020-06-05 16:22:05 +08:00
parent b7329d10b5
commit 6b4feef78e

View File

@ -71,7 +71,7 @@ namespace hgl
{ {
fos=new FileOutputStream(); fos=new FileOutputStream();
if(!fos->Open(filename)) if(!fos->Open(filename,mode))
{ {
delete fos; delete fos;
fos=nullptr; fos=nullptr;