Skip to content

Commit dcd0d9c

Browse files
committed
File open w/o mode
1 parent 5e19374 commit dcd0d9c

File tree

1 file changed

+1
-1
lines changed
  • src/AudioTools/AudioLibs/Desktop

1 file changed

+1
-1
lines changed

src/AudioTools/AudioLibs/Desktop/File.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class File : public Stream {
3737
return *this;
3838
}
3939

40-
void open(const char* name, FileMode mode){
40+
void open(const char* name, FileMode mode=FILE_READ){
4141
file_path = name;
4242
switch(mode){
4343
case FILE_READ:

0 commit comments

Comments
 (0)