parent
1b69589302
commit
7d3e3c91e8
|
@ -49,8 +49,6 @@
|
||||||
#include "sound/oalsound/alsound.h"
|
#include "sound/oalsound/alsound.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <boost/tokenizer.hpp>
|
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL_image.h>
|
#include <SDL_image.h>
|
||||||
|
|
||||||
|
@ -1689,9 +1687,10 @@ bool CApplication::ParseDebugModes(const std::string& str, int& debugModes)
|
||||||
{
|
{
|
||||||
debugModes = 0;
|
debugModes = 0;
|
||||||
|
|
||||||
boost::char_separator<char> sep(",");
|
std::istringstream stream(str);
|
||||||
boost::tokenizer<boost::char_separator<char>> tokens(str, sep);
|
std::string modeToken;
|
||||||
for (const auto& modeToken : tokens)
|
|
||||||
|
while (std::getline(stream, modeToken, ','))
|
||||||
{
|
{
|
||||||
if (modeToken == "sys_events")
|
if (modeToken == "sys_events")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue