Fix compiler warning

This commit is contained in:
Oliver Hamlet
2016-08-24 07:48:33 +01:00
parent c28d771cde
commit 96bd4479a5
+1 -1
View File
@@ -82,7 +82,7 @@ Plugin::Plugin(const Game& game, const std::string& name, const bool headerOnly)
text = text.substr(pos1, pos2 - pos1);
std::vector<string> bashTags;
boost::split(bashTags, text, boost::is_any_of(","));
boost::split(bashTags, text, [](char c) { return c == ','; });
for (auto &tag : bashTags) {
boost::trim(tag);