diff options
| author | 2020-10-30 00:35:40 -0700 | |
|---|---|---|
| committer | 2020-10-30 00:35:40 -0700 | |
| commit | 8aa9ae5ba5269b0c82f771a6fcf47b2534b5faf9 (patch) | |
| tree | 1eaa9ee780dab30783252f6ab68af1e8e62f3f07 /src/common/file_util.h | |
| parent | Merge pull request #4867 from lioncash/vp9 (diff) | |
| parent | General: Catch more expressions with no effect on MSVC (diff) | |
| download | yuzu-8aa9ae5ba5269b0c82f771a6fcf47b2534b5faf9.tar.gz yuzu-8aa9ae5ba5269b0c82f771a6fcf47b2534b5faf9.tar.xz yuzu-8aa9ae5ba5269b0c82f771a6fcf47b2534b5faf9.zip | |
Merge pull request #4868 from lioncash/discard-error
General: Make ignoring a discarded return value an error
Diffstat (limited to 'src/common/file_util.h')
| -rw-r--r-- | src/common/file_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/file_util.h b/src/common/file_util.h index 8b587320f..840cde2a6 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h | |||
| @@ -232,7 +232,7 @@ public: | |||
| 232 | 232 | ||
| 233 | void Swap(IOFile& other) noexcept; | 233 | void Swap(IOFile& other) noexcept; |
| 234 | 234 | ||
| 235 | [[nodiscard]] bool Open(const std::string& filename, const char openmode[], int flags = 0); | 235 | bool Open(const std::string& filename, const char openmode[], int flags = 0); |
| 236 | bool Close(); | 236 | bool Close(); |
| 237 | 237 | ||
| 238 | template <typename T> | 238 | template <typename T> |