wsd: move LOOLProtocol::tokenize to Util::tokenize

The tokenizer(s) are more generic than the protocol
logic, and are used from contexts that don't involve
the protocol as such.

Change-Id: Ie8c256bf11a91e466bff794021f41603c9596a7f
This commit is contained in:
Ashod Nakashian
2020-05-21 10:22:49 -04:00
committed by Michael Meeks
parent d89f509609
commit d2d0492245
36 changed files with 175 additions and 173 deletions

View File

@ -88,7 +88,7 @@ protected:
std::string line;
std::getline(std::cin, line);
StringVector tokens(LOOLProtocol::tokenize(line, ' '));
StringVector tokens(Util::tokenize(line, ' '));
if (tokens.size() == 0)
continue;