From fb49ce462fb566fbfa3d617262e01bbfebc90f94 Mon Sep 17 00:00:00 2001 From: Vitor Kiguchi Date: Wed, 30 Dec 2020 13:56:19 -0300 Subject: [PATCH] Revert #5530 "Port yuzu-emu/yuzu#4539" There is currently no such warning and the solution proposed omits the call instead of the warning. --- src/common/file_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {