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

@@ -32,6 +32,7 @@
#include <Context.h>
#include <Filter.h>
#include <format.h>
#include <shared.h>
#include <text.h>
#include <util.h>
#include <i18n.h>
@@ -147,10 +148,7 @@ int CmdImport::import (const std::string& input)
// { ... }
catch (std::string& e)
{
std::vector <std::string> lines;
split (lines, input, '\n');
for (auto& line : lines)
for (auto& line : split (input, '\n'))
{
if (line.length ())
{