aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/effects.h
diff options
context:
space:
mode:
Diffstat (limited to 'al/effects/effects.h')
-rw-r--r--al/effects/effects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/effects/effects.h b/al/effects/effects.h
index f30f256a..66fc8c44 100644
--- a/al/effects/effects.h
+++ b/al/effects/effects.h
@@ -24,7 +24,7 @@ public:
effect_exception(ALenum code, const char *msg, ...);
~effect_exception() override;
- ALenum errorCode() const noexcept { return mErrorCode; }
+ [[nodiscard]] auto errorCode() const noexcept -> ALenum { return mErrorCode; }
};