Skip to content

Commit bab78ed

Browse files
committed
fix(mapping): Added function to access map elements
1 parent fa6614b commit bab78ed

File tree

1 file changed

+6
-0
lines changed
  • include/geode/model/representation/core

1 file changed

+6
-0
lines changed

include/geode/model/representation/core/mapping.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,12 @@ namespace geode
8282
return mappings[type];
8383
}
8484

85+
const absl::flat_hash_map< ComponentType, Mapping >&
86+
components_mappings()
87+
{
88+
return mappings;
89+
}
90+
8591
private:
8692
absl::flat_hash_map< ComponentType, Mapping > mappings;
8793
};

0 commit comments

Comments
 (0)