diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-18 16:52:07 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-18 16:52:07 +0100 |
commit | 373c3489ed4b6927a9596882e9e4ff078624e943 (patch) | |
tree | 13e8367db9a8f144d4746597f6bf8d9edc476b9a /src/core/model/Node.cpp | |
parent | 8ab0709045667f8e1a67a9981c619980c9aebd1a (diff) |
made invalidate and markInvalid const.
Diffstat (limited to 'src/core/model/Node.cpp')
-rw-r--r-- | src/core/model/Node.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |