From 3b73c4300a97335b56c7b3f44bcd08ba8510e088 Mon Sep 17 00:00:00 2001 From: suhrke Date: Thu, 6 Jul 2017 10:29:54 -0700 Subject: [PATCH] extractMapInfo now passes queue by value so parser can use it --- ReflexToQ3/includes/EntityConverter.cpp | 2 +- ReflexToQ3/includes/EntityConverter.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ReflexToQ3/includes/EntityConverter.cpp b/ReflexToQ3/includes/EntityConverter.cpp index d2acdd5..8dac498 100644 --- a/ReflexToQ3/includes/EntityConverter.cpp +++ b/ReflexToQ3/includes/EntityConverter.cpp @@ -94,7 +94,7 @@ EntityConverter::EntityConverter(const std::string &entityMapFile, *-------------------------------------------------------------------------------------- */ void -EntityConverter::extractMapInfo(std::queue> &entities) +EntityConverter::extractMapInfo(std::queue> entities) { if( haveMapInfo_ ) { std::cerr << "Map info already extracted, doing nothing" << std::endl; diff --git a/ReflexToQ3/includes/EntityConverter.hpp b/ReflexToQ3/includes/EntityConverter.hpp index 4e251c3..456a00f 100644 --- a/ReflexToQ3/includes/EntityConverter.hpp +++ b/ReflexToQ3/includes/EntityConverter.hpp @@ -97,7 +97,7 @@ class EntityConverter * THROWS: runtime_error when encountering malformed entity *-------------------------------------------------------------------------------------- */ - void extractMapInfo(std::queue> &entities); + void extractMapInfo(std::queue> entities);