From b4710633b1c1671b52cb2bfdff7f06caf1912d82 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Tue, 26 Jul 2016 11:23:14 +0200 Subject: [PATCH] Rename function to reduce confusion --- include/extractor/extraction_helper_functions.hpp | 2 +- include/extractor/guidance/toolkit.hpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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);