diff options
author | Lioncash <mathew1800@gmail.com> | 2022-09-16 09:59:56 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-09-16 09:59:56 -0400 |
commit | 6b1cb73350d2e16219bea9e1b3ba6bf66c730190 (patch) | |
tree | ba58718ccf0ecc3365d415fa9f2473598435b095 /src/audio_core | |
parent | e4bc7b8611677591fb41c9f97bad22b5eb57ab98 (diff) |
node_states: Mark relevant member functions as const
Diffstat (limited to 'src/audio_core')
-rw-r--r-- | src/audio_core/renderer/nodes/node_states.h | 4 |
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]; } |