Skip to content

Commit 0950c17

Browse files
authored
Merge pull request #931 from Geode-solutions/fix/model_mappings_allow_read_on_map
fix(mapping): Added function to access map elements
2 parents fa6614b + bab78ed commit 0950c17

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)