mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 19:52:53 +00:00
Merge pull request #4539 from lioncash/disc
common: Silence two discarded result warnings
This commit is contained in:
commit
b1fa647f28
|
@ -21,7 +21,7 @@ namespace Common {
|
||||||
DynamicLibrary::DynamicLibrary() = default;
|
DynamicLibrary::DynamicLibrary() = default;
|
||||||
|
|
||||||
DynamicLibrary::DynamicLibrary(const char* filename) {
|
DynamicLibrary::DynamicLibrary(const char* filename) {
|
||||||
Open(filename);
|
void(Open(filename));
|
||||||
}
|
}
|
||||||
|
|
||||||
DynamicLibrary::DynamicLibrary(DynamicLibrary&& rhs) noexcept
|
DynamicLibrary::DynamicLibrary(DynamicLibrary&& rhs) noexcept
|
||||||
|
|
|
@ -909,10 +909,10 @@ std::string SanitizePath(std::string_view path_, DirectorySeparator directory_se
|
||||||
return std::string(RemoveTrailingSlash(path));
|
return std::string(RemoveTrailingSlash(path));
|
||||||
}
|
}
|
||||||
|
|
||||||
IOFile::IOFile() {}
|
IOFile::IOFile() = default;
|
||||||
|
|
||||||
IOFile::IOFile(const std::string& filename, const char openmode[], int flags) {
|
IOFile::IOFile(const std::string& filename, const char openmode[], int flags) {
|
||||||
Open(filename, openmode, flags);
|
void(Open(filename, openmode, flags));
|
||||||
}
|
}
|
||||||
|
|
||||||
IOFile::~IOFile() {
|
IOFile::~IOFile() {
|
||||||
|
|
Loading…
Reference in a new issue