From 66e666cc655ff30167cdb8e7a9fce7ab61ddf4e4 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 --- xo-reflect/include/xo/reflect/TypeDrivenMap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xo-reflect/include/xo/reflect/TypeDrivenMap.hpp b/xo-reflect/include/xo/reflect/TypeDrivenMap.hpp index d972780f..2568887d 100644 --- a/xo-reflect/include/xo/reflect/TypeDrivenMap.hpp +++ b/xo-reflect/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()); }