修正OpenFileOutputStream调用FileOutputStream::Open没有正确传递mode的bug
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user