From d7ed6044149efc6961af837c08e67538cca571df Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 25 Jan 2026 10:02:58 -0500 Subject: [PATCH] xo-reflect: minor: const in TypeDriveMap.lookup method --- include/xo/reflect/TypeDrivenMap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xo/reflect/TypeDrivenMap.hpp b/include/xo/reflect/TypeDrivenMap.hpp index d972780..2568887 100644 --- a/include/xo/reflect/TypeDrivenMap.hpp +++ b/include/xo/reflect/TypeDrivenMap.hpp @@ -17,7 +17,7 @@ namespace xo { TypeDrivenMap() = default; const Value * lookup(TypeId id) const { return this->lookup_slot(id); } - const Value * lookup(TypeDescr td) { return this->lookup_slot(td->id()); } + const Value * lookup(TypeDescr td) const { return this->lookup_slot(td->id()); } Value * require(TypeId id) { return this->require_slot(id); } Value * require(TypeDescr td) { return this->require_slot(td->id()); }