Skip to content
Snippets Groups Projects
Commit 6b1cb733 authored by Lioncash's avatar Lioncash
Browse files

node_states: Mark relevant member functions as const

parent e4bc7b86
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ class NodeStates { ...@@ -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 { ...@@ -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];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment