From c25d14e454ff1291980f9d334efe8fa9d43f44fd Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Fri, 10 Apr 2015 12:57:30 +0200 Subject: [PATCH] Remove unnecessary header include --- extractor/restriction_parser.cpp | 3 +-- extractor/restriction_parser.hpp | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/extractor/restriction_parser.cpp b/extractor/restriction_parser.cpp index ea9cad27a..3a8c0ed07 100644 --- a/extractor/restriction_parser.cpp +++ b/extractor/restriction_parser.cpp @@ -27,7 +27,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "restriction_parser.hpp" #include "extraction_way.hpp" -#include "scripting_environment.hpp" #include "../data_structures/external_memory_node.hpp" #include "../util/lua_util.hpp" @@ -53,7 +52,7 @@ int lua_error_callback(lua_State *lua_state) } RestrictionParser::RestrictionParser(lua_State *lua_state) - : /*lua_state(scripting_environment.getLuaState()),*/ use_turn_restrictions(true) + : use_turn_restrictions(true) { ReadUseRestrictionsSetting(lua_state); diff --git a/extractor/restriction_parser.hpp b/extractor/restriction_parser.hpp index 0a632d83e..d19b5c55a 100644 --- a/extractor/restriction_parser.hpp +++ b/extractor/restriction_parser.hpp @@ -44,7 +44,6 @@ class ScriptingEnvironment; class RestrictionParser { public: - // RestrictionParser(ScriptingEnvironment &scripting_environment); RestrictionParser(lua_State *lua_state); mapbox::util::optional TryParse(const osmium::Relation &relation) const;