Also rename helper to lbm_map instead of container_map
const std::vector<LoadingBlockModifierDef *> *
LBMContentMapping::lookup(content_t c) const
{
- container_map::const_iterator it = map.find(c);
+ lbm_map::const_iterator it = map.find(c);
if (it == map.end())
return NULL;
// This first dereferences the iterator, returning
struct LBMContentMapping
{
- typedef std::map<content_t, std::vector<LoadingBlockModifierDef *> > container_map;
- container_map map;
+ typedef std::unordered_map<content_t, std::vector<LoadingBlockModifierDef *>> lbm_map;
+ lbm_map map;
std::vector<LoadingBlockModifierDef *> lbm_list;