mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 06:22:49 +00:00
Merge pull request #5530 from FearlessTobi/port-4539
Port yuzu-emu/yuzu#4539: "common: Silence two discarded result warnings"
This commit is contained in:
commit
987f910a86
|
@ -915,11 +915,11 @@ 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)
|
||||||
: filename(filename), openmode(openmode), flags(flags) {
|
: filename(filename), openmode(openmode), flags(flags) {
|
||||||
Open();
|
void(Open());
|
||||||
}
|
}
|
||||||
|
|
||||||
IOFile::~IOFile() {
|
IOFile::~IOFile() {
|
||||||
|
|
Loading…
Reference in a new issue