xo-reflect: minor: const in TypeDriveMap.lookup method
This commit is contained in:
parent
e4cfb57bef
commit
66e666cc65
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ namespace xo {
|
||||||
TypeDrivenMap() = default;
|
TypeDrivenMap() = default;
|
||||||
|
|
||||||
const Value * lookup(TypeId id) const { return this->lookup_slot(id); }
|
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(TypeId id) { return this->require_slot(id); }
|
||||||
Value * require(TypeDescr td) { return this->require_slot(td->id()); }
|
Value * require(TypeDescr td) { return this->require_slot(td->id()); }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue