diff options
Diffstat (limited to 'starts/meaning-vm/level-1/baseref.hpp')
-rw-r--r-- | starts/meaning-vm/level-1/baseref.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starts/meaning-vm/level-1/baseref.hpp b/starts/meaning-vm/level-1/baseref.hpp index 8c358cc..e8bdcb9 100644 --- a/starts/meaning-vm/level-1/baseref.hpp +++ b/starts/meaning-vm/level-1/baseref.hpp @@ -21,8 +21,8 @@ struct baseref : public level0::baseref<ref> bool isa(ref group) const { return level1::isa(self, group); } bool isan(ref group) const { return isa(group); } - std::string const & name() const { return getname(self)->data; } - operator std::string const &() const { return getname(self)->data; } + std::string const & name() const { return getname(self); } + operator std::string const &() const { return getname(self); } operator char const *() const { return getname(self)->data.c_str(); } ref operator-(ref other) { return hyphenate(self.ptr(), other.ptr()); } |