summaryrefslogtreecommitdiff
path: root/starts/meaning-vm/level-0/ref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'starts/meaning-vm/level-0/ref.cpp')
-rw-r--r--starts/meaning-vm/level-0/ref.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/starts/meaning-vm/level-0/ref.cpp b/starts/meaning-vm/level-0/ref.cpp
index 7e10528..f468456 100644
--- a/starts/meaning-vm/level-0/ref.cpp
+++ b/starts/meaning-vm/level-0/ref.cpp
@@ -14,7 +14,7 @@ ref::ref(concept *p)
}
}
-std::string ref::dump(ref skipmarkertype, ref skipmarkertarget) const
+std::string ref::dump(ref skipmarkertype, ref skipmarkertarget)
{
if (self->linked(skipmarkertype, skipmarkertarget)) {
return {};
@@ -25,7 +25,7 @@ std::string ref::dump(ref skipmarkertype, ref skipmarkertarget) const
}
self->link(skipmarkertype, skipmarkertarget);
for (auto & link : self->links) {
- if (link.first == skipmarkertype && link.second == skipmarkertype) {
+ if (link.first == skipmarkertype && link.second == skipmarkertarget) {
continue;
}
ret += link.second.dump(skipmarkertype, skipmarkertarget);