Skip to content

Commit 44c2a29

Browse files
committed
Minor fix to ifstream.open call
1 parent aa92a0f commit 44c2a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceHost.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Resource* ResourceHost::readFile(std::string const& path, struct stat const& sb)
8686
uint32_t len = 0;
8787

8888
// Open the file
89-
file.open(path.c_str(), std::ios::binary);
89+
file.open(path, std::ios::binary);
9090

9191
// Return null if the file failed to open
9292
if (!file.is_open())

0 commit comments

Comments
 (0)