From: John Benediktsson Date: Tue, 7 Apr 2020 18:38:48 +0000 (-0700) Subject: vm: quick fix for compilation warning. X-Git-Tag: 0.99~3343 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=5c98ba78cb8878fb60377b9f5dd8905820004ead vm: quick fix for compilation warning. --- diff --git a/vm/tagged.hpp b/vm/tagged.hpp index 7d86ba73cc..c980ddc025 100644 --- a/vm/tagged.hpp +++ b/vm/tagged.hpp @@ -41,7 +41,7 @@ template struct tagged { } Type* operator->() const { return untagged(); } - cell* operator&() const { return &value_; } + cell* operator&() const { return value(); } bool operator==(const tagged& x) { return value_ == x.value_; } bool operator!=(const tagged& x) { return value_ != x.value_; }