From 19f7fb8d5e04af86c0ccf4227e3062f47bfbc5b7 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Sun, 9 Jan 2022 18:20:47 +0100 Subject: [PATCH] added const specifier --- src/runtime/c/pgf/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/c/pgf/db.h b/src/runtime/c/pgf/db.h index d1725588a..6aad89e4a 100644 --- a/src/runtime/c/pgf/db.h +++ b/src/runtime/c/pgf/db.h @@ -35,7 +35,7 @@ public: static ref 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 ref) {