extractMapInfo now passes queue by value so parser can use it

This commit is contained in:
suhrke
2017-07-06 10:29:54 -07:00
parent 640ce93ff4
commit 3b73c4300a
2 changed files with 2 additions and 2 deletions

View File

@@ -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;