added const specifier

This commit is contained in:
Krasimir Angelov
2022-01-09 18:20:47 +01:00
parent f2572d3bd5
commit 19f7fb8d5e

View File

@@ -35,7 +35,7 @@ public:
static
ref<A> from_ptr(A *ptr) { return (((uint8_t*) ptr) - current_base); }
object as_object() { return offset; }
object as_object() const { return offset; }
static
object tagged(ref<A> ref) {