vm: quick fix for compilation warning.
parent
f5d0b8bfb0
commit
5c98ba78cb
|
@ -41,7 +41,7 @@ template <typename Type> struct tagged {
|
||||||
}
|
}
|
||||||
|
|
||||||
Type* operator->() const { return untagged(); }
|
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_; }
|
||||||
bool operator!=(const tagged<Type>& x) { return value_ != x.value_; }
|
bool operator!=(const tagged<Type>& x) { return value_ != x.value_; }
|
||||||
|
|
Loading…
Reference in New Issue