summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-09-16 15:59:56 +0200
committerLioncash <mathew1800@gmail.com>2022-09-16 15:59:56 +0200
commit6b1cb73350d2e16219bea9e1b3ba6bf66c730190 (patch)
treeba58718ccf0ecc3365d415fa9f2473598435b095
parenti3dl2/reverb: Mark relevant member functions as const (diff)
downloadyuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar.gz
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar.bz2
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar.lz
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar.xz
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar.zst
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.zip
-rw-r--r--src/audio_core/renderer/nodes/node_states.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/renderer/nodes/node_states.h b/src/audio_core/renderer/nodes/node_states.h
index c0fced56f..94b1d1254 100644
--- a/src/audio_core/renderer/nodes/node_states.h
+++ b/src/audio_core/renderer/nodes/node_states.h
@@ -56,7 +56,7 @@ class NodeStates {
*
* @return The current stack position.
*/
- u32 Count() {
+ u32 Count() const {
return pos;
}
@@ -83,7 +83,7 @@ class NodeStates {
*
* @return The node on the top of the stack.
*/
- u32 top() {
+ u32 top() const {
return stack[pos - 1];
}