]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/tagged.hpp
io.streams.256color: faster by caching styles
[factor.git] / vm / tagged.hpp
index 7d86ba73cca04df2be4c011c962ff5e82fa52807..0af2130fa010732bd600e27ef1057f03b4d0e0c8 100644 (file)
@@ -41,7 +41,7 @@ template <typename Type> struct tagged {
   }
 
   Type* operator->() const { return untagged(); }
-  cell* operator&() const { return &value_; }
+  cell* operator&() const { return &value(); }
 
   bool operator==(const tagged<Type>& x) { return value_ == x.value_; }
   bool operator!=(const tagged<Type>& x) { return value_ != x.value_; }