text: Removed local join/split implementation

This commit is contained in:
Paul Beckingham
2016-12-07 01:14:16 -05:00
parent 6cdb0d4b95
commit 3c6ce4e0fc
11 changed files with 18 additions and 277 deletions

View File

@@ -67,8 +67,7 @@ void initializeColorRules ()
// Load the rule.precedence.color list, split it, then autocomplete against
// the 'rules' vector loaded above.
std::vector <std::string> results;
std::vector <std::string> precedence;
split (precedence, context.config.get ("rule.precedence.color"), ',');
auto precedence = split (context.config.get ("rule.precedence.color"), ',');
for (const auto& p : precedence)
{