mirror of
https://github.com/yuzu-emu/yuzu-mainline
synced 2024-11-26 07:47:54 +00:00
node_states: Mark relevant member functions as const
This commit is contained in:
parent
e4bc7b8611
commit
6b1cb73350
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class NodeStates {
|
||||||
*
|
*
|
||||||
* @return The current stack position.
|
* @return The current stack position.
|
||||||
*/
|
*/
|
||||||
u32 Count() {
|
u32 Count() const {
|
||||||
return pos;
|
return pos;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -83,7 +83,7 @@ class NodeStates {
|
||||||
*
|
*
|
||||||
* @return The node on the top of the stack.
|
* @return The node on the top of the stack.
|
||||||
*/
|
*/
|
||||||
u32 top() {
|
u32 top() const {
|
||||||
return stack[pos - 1];
|
return stack[pos - 1];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue