mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-16 02:47:36 +02:00
2ede3783dd
* Client command-line can modify arbitrary settings now * Only launcher auto-saves to settings.json
15 lines
270 B
C++
15 lines
270 B
C++
#include "StdInc.h"
|
|
#include <vstd/StringUtils.h>
|
|
|
|
namespace vstd
|
|
{
|
|
|
|
DLL_LINKAGE std::vector<std::string> split(std::string s, std::string separators)
|
|
{
|
|
std::vector<std::string> result;
|
|
boost::split(result, s, boost::is_any_of(separators));
|
|
return result;
|
|
}
|
|
|
|
}
|