diff options
Diffstat (limited to 'src/common/file_util.cpp')
| -rw-r--r-- | src/common/file_util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
| 902 | return std::string(RemoveTrailingSlash(path)); | 902 | return std::string(RemoveTrailingSlash(path)); |
| 903 | } | 903 | } |
| 904 | 904 | ||
| 905 | IOFile::IOFile() {} | 905 | IOFile::IOFile() = default; |
| 906 | 906 | ||
| 907 | IOFile::IOFile(const std::string& filename, const char openmode[], int flags) { | 907 | IOFile::IOFile(const std::string& filename, const char openmode[], int flags) { |
| 908 | Open(filename, openmode, flags); | 908 | void(Open(filename, openmode, flags)); |
| 909 | } | 909 | } |
| 910 | 910 | ||
| 911 | IOFile::~IOFile() { | 911 | IOFile::~IOFile() { |