summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2022-09-16 09:59:56 -0400
committerGravatar Lioncash2022-09-16 09:59:56 -0400
commit6b1cb73350d2e16219bea9e1b3ba6bf66c730190 (patch)
treeba58718ccf0ecc3365d415fa9f2473598435b095
parenti3dl2/reverb: Mark relevant member functions as const (diff)
downloadyuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar.gz
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.tar.xz
yuzu-6b1cb73350d2e16219bea9e1b3ba6bf66c730190.zip
node_states: Mark relevant member functions as const
Diffstat (limited to '')
-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 {
56 * 56 *
57 * @return The current stack position. 57 * @return The current stack position.
58 */ 58 */
59 u32 Count() { 59 u32 Count() const {
60 return pos; 60 return pos;
61 } 61 }
62 62
@@ -83,7 +83,7 @@ class NodeStates {
83 * 83 *
84 * @return The node on the top of the stack. 84 * @return The node on the top of the stack.
85 */ 85 */
86 u32 top() { 86 u32 top() const {
87 return stack[pos - 1]; 87 return stack[pos - 1];
88 } 88 }
89 89