From 96bd4479a5ae8445132dac942f9c6becf050a6ab Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Wed, 17 Aug 2016 17:38:05 +0100 Subject: [PATCH] Fix compiler warning --- src/backend/plugin/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/plugin/plugin.cpp b/src/backend/plugin/plugin.cpp index 1530e745..eb17fadc 100644 --- a/src/backend/plugin/plugin.cpp +++ b/src/backend/plugin/plugin.cpp @@ -82,7 +82,7 @@ Plugin::Plugin(const Game& game, const std::string& name, const bool headerOnly) text = text.substr(pos1, pos2 - pos1); std::vector bashTags; - boost::split(bashTags, text, boost::is_any_of(",")); + boost::split(bashTags, text, [](char c) { return c == ','; }); for (auto &tag : bashTags) { boost::trim(tag);