diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-16 12:17:30 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-16 12:17:33 +0200 |
commit | d09456fc41acf626ebc9687e50124d18c75ef804 (patch) | |
tree | 13978123fbe34c7433399e2027bda5e7f1edd823 /src/common | |
parent | Merge pull request #4528 from lioncash/discard (diff) | |
download | yuzu-d09456fc41acf626ebc9687e50124d18c75ef804.tar yuzu-d09456fc41acf626ebc9687e50124d18c75ef804.tar.gz yuzu-d09456fc41acf626ebc9687e50124d18c75ef804.tar.bz2 yuzu-d09456fc41acf626ebc9687e50124d18c75ef804.tar.lz yuzu-d09456fc41acf626ebc9687e50124d18c75ef804.tar.xz yuzu-d09456fc41acf626ebc9687e50124d18c75ef804.tar.zst yuzu-d09456fc41acf626ebc9687e50124d18c75ef804.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/dynamic_library.cpp | 2 | ||||
-rw-r--r-- | src/common/file_util.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/dynamic_library.cpp b/src/common/dynamic_library.cpp index 7ab54e9e4..7f0a10521 100644 --- a/src/common/dynamic_library.cpp +++ b/src/common/dynamic_library.cpp @@ -21,7 +21,7 @@ namespace Common { DynamicLibrary::DynamicLibrary() = default; DynamicLibrary::DynamicLibrary(const char* filename) { - Open(filename); + void(Open(filename)); } DynamicLibrary::DynamicLibrary(DynamicLibrary&& rhs) noexcept diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 4ede9f72c..cf92e2e76 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -902,10 +902,10 @@ std::string SanitizePath(std::string_view path_, DirectorySeparator directory_se return std::string(RemoveTrailingSlash(path)); } -IOFile::IOFile() {} +IOFile::IOFile() = default; IOFile::IOFile(const std::string& filename, const char openmode[], int flags) { - Open(filename, openmode, flags); + void(Open(filename, openmode, flags)); } IOFile::~IOFile() { |