diff --git a/include/extractor/extraction_helper_functions.hpp b/include/extractor/extraction_helper_functions.hpp index 1240d33e3..766d93914 100644 --- a/include/extractor/extraction_helper_functions.hpp +++ b/include/extractor/extraction_helper_functions.hpp @@ -110,7 +110,7 @@ trimLaneString(std::string lane_string, std::int32_t count_left, std::int32_t co inline std::string applyAccessTokens(const std::string &lane_string, const std::string &access_tokens) { - return extractor::guidance::trimLaneString(lane_string,access_tokens); + return extractor::guidance::applyAccessTokens(lane_string, access_tokens); } } diff --git a/include/extractor/guidance/toolkit.hpp b/include/extractor/guidance/toolkit.hpp index 0b59f100f..070feaeb2 100644 --- a/include/extractor/guidance/toolkit.hpp +++ b/include/extractor/guidance/toolkit.hpp @@ -357,8 +357,7 @@ trimLaneString(std::string lane_string, std::int32_t count_left, std::int32_t co // turn:lanes=left|through|through|right // vehicle:lanes=yes|yes|no|yes // bicycle:lanes=yes|no|designated|yes - -inline std::string trimLaneString(std::string lane_string, const std::string &access_tokens) +inline std::string applyAccessTokens(std::string lane_string, const std::string &access_tokens) { typedef boost::tokenizer> tokenizer; boost::char_separator sep("|", "", boost::keep_empty_tokens);