From 6b4feef78efa3d185b6abeda049c6232d2da6a81 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Fri, 5 Jun 2020 16:22:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3OpenFileOutputStream=E8=B0=83?= =?UTF-8?q?=E7=94=A8FileOutputStream::Open=E6=B2=A1=E6=9C=89=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E4=BC=A0=E9=80=92mode=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/hgl/io/FileOutputStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/hgl/io/FileOutputStream.h b/inc/hgl/io/FileOutputStream.h index 0483103..2ff8b0e 100644 --- a/inc/hgl/io/FileOutputStream.h +++ b/inc/hgl/io/FileOutputStream.h @@ -71,7 +71,7 @@ namespace hgl { fos=new FileOutputStream(); - if(!fos->Open(filename)) + if(!fos->Open(filename,mode)) { delete fos; fos=nullptr;