diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 1577960757..9901141b33 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -919,7 +919,7 @@ IOFile::IOFile() = default; IOFile::IOFile(const std::string& filename, const char openmode[], int flags) : filename(filename), openmode(openmode), flags(flags) { - void(Open()); + Open(); } IOFile::~IOFile() {