extractMapInfo now passes queue by value so parser can use it
This commit is contained in:
parent
640ce93ff4
commit
3b73c4300a
@ -94,7 +94,7 @@ EntityConverter::EntityConverter(const std::string &entityMapFile,
|
||||
*--------------------------------------------------------------------------------------
|
||||
*/
|
||||
void
|
||||
EntityConverter::extractMapInfo(std::queue<std::vector<std::string>> &entities)
|
||||
EntityConverter::extractMapInfo(std::queue<std::vector<std::string>> entities)
|
||||
{
|
||||
if( haveMapInfo_ ) {
|
||||
std::cerr << "Map info already extracted, doing nothing" << std::endl;
|
||||
|
@ -97,7 +97,7 @@ class EntityConverter
|
||||
* THROWS: runtime_error when encountering malformed entity
|
||||
*--------------------------------------------------------------------------------------
|
||||
*/
|
||||
void extractMapInfo(std::queue<std::vector<std::string>> &entities);
|
||||
void extractMapInfo(std::queue<std::vector<std::string>> entities);
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user