summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-07-27 10:14:32 +0200
committerLioncash <mathew1800@gmail.com>2021-07-27 10:14:32 +0200
commite490ddf327d88011e4895cdca182260cbed84bcd (patch)
treeab723b5adea67bcafed729450a9d974febb62e00 /src
parentexception: Narrow down specific header (diff)
downloadyuzu-e490ddf327d88011e4895cdca182260cbed84bcd.tar
yuzu-e490ddf327d88011e4895cdca182260cbed84bcd.tar.gz
yuzu-e490ddf327d88011e4895cdca182260cbed84bcd.tar.bz2
yuzu-e490ddf327d88011e4895cdca182260cbed84bcd.tar.lz
yuzu-e490ddf327d88011e4895cdca182260cbed84bcd.tar.xz
yuzu-e490ddf327d88011e4895cdca182260cbed84bcd.tar.zst
yuzu-e490ddf327d88011e4895cdca182260cbed84bcd.zip
Diffstat (limited to 'src')
-rw-r--r--src/shader_recompiler/exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/exception.h b/src/shader_recompiler/exception.h
index c47aecc1e..997169756 100644
--- a/src/shader_recompiler/exception.h
+++ b/src/shader_recompiler/exception.h
@@ -17,7 +17,7 @@ class Exception : public std::exception {
public:
explicit Exception(std::string message) noexcept : err_message{std::move(message)} {}
- const char* what() const noexcept override {
+ [[nodiscard]] const char* what() const noexcept override {
return err_message.c_str();
}