added const specifier

This commit is contained in:
Krasimir Angelov committed 2022-01-09 18:20:47 +01:00
1 parent f2572d3bd5
commit 19f7fb8d5e
1 file changed
+1 -1
+1 -1
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) {