From 5c98ba78cb8878fb60377b9f5dd8905820004ead Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Tue, 7 Apr 2020 11:38:48 -0700 Subject: [PATCH] vm: quick fix for compilation warning. --- vm/tagged.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_; } -- 2.34.1