Rename function to reduce confusion

This commit is contained in:
Patrick Niklaus
2016-07-26 11:23:14 +02:00
parent 7d076e9344
commit b4710633b1
2 changed files with 2 additions and 3 deletions
@@ -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);
}
}
+1 -2
View File
@@ -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<boost::char_separator<char>> tokenizer;
boost::char_separator<char> sep("|", "", boost::keep_empty_tokens);