engine/maps/source/MapRegistry.cpp
// Add a map to the registry.  Return false if a map with the given
// ID already exists.
Add a map to the registry.  Return false if a map with the given
ID already exists.
Add a map to the registry . Return false if a map with the given ID already exists .
bool MapRegistry::set_map(const string& map_id, const MapPtr& map)
{
  bool inserted = (map_registry.insert(make_pair(map_id, map))).second;
  return inserted;
}
bool MapRegistry :: set_map ( const string & map_id , const MapPtr & map ) { bool inserted = ( map_registry . insert ( make_pair ( map_id , map ) ) ) . second ; return inserted ; }
Add a map to the registry.
Add a map to the registry .