Skip to content
Snippets Groups Projects
Commit 6aaa0af4 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

no enclosing namespace in cpp file

parent cbfe5c35
No related branches found
No related tags found
1 merge request!1582minor cleanup
......@@ -16,14 +16,11 @@
#include <boost/algorithm/string.hpp>
#include <regex>
namespace mumufit {
//! Returns token vector obtained by splitting string at delimiters.
std::vector<std::string> stringUtil::split(const std::string& text, const std::string& delimiter)
std::vector<std::string> mumufit::stringUtil::split(const std::string& text,
const std::string& delimiter)
{
std::vector<std::string> tokens;
boost::split(tokens, text, boost::is_any_of(delimiter));
return tokens;
}
} // namespace mumufit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment