mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 23:00:45 +01:00
[apps] Ensure const methods when needed in node class
Change-Id: Ib1ca31d4eeaaf1a05cc2e25e408b382111fa3648
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "node.h"
|
||||
|
||||
int Node::numberOfChildren() {
|
||||
int Node::numberOfChildren() const {
|
||||
return m_numberOfChildren;
|
||||
}
|
||||
|
||||
@@ -8,6 +8,6 @@ const char * Node::label() const {
|
||||
return m_label;
|
||||
}
|
||||
|
||||
bool Node::isNull() {
|
||||
bool Node::isNull() const {
|
||||
return (m_label == nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user