From 373c3489ed4b6927a9596882e9e4ff078624e943 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Sun, 18 Jan 2015 16:52:07 +0100 Subject: made invalidate and markInvalid const. --- src/core/model/Node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/model/Node.cpp') diff --git a/src/core/model/Node.cpp b/src/core/model/Node.cpp index bd023e1..539924d 100644 --- a/src/core/model/Node.cpp +++ b/src/core/model/Node.cpp @@ -381,7 +381,7 @@ bool Node::validateName(Logger &logger) const return true; } -void Node::invalidate() +void Node::invalidate() const { // Only perform the invalidation if necessary if (validationState != ValidationState::UNKNOWN) { @@ -392,7 +392,7 @@ void Node::invalidate() } } -void Node::markInvalid() +void Node::markInvalid() const { // Do not override the validationState if we're currently in the validation // procedure, try to mark the parent node as invalid -- cgit v1.2.3