fix to work with a gcc bug

This commit is contained in:
Eduardo Bart 2011-05-17 01:32:18 -03:00
parent c5b462d5b9
commit f68eba6a9f
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ void saveConfigs()
int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow) int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow)
{ {
std::vector<std::string> args; std::vector<std::string> args;
boost::split(args, lpszArgument, boost::is_any_of(" ")); boost::split(args, lpszArgument, boost::is_any_of(std::string(" ")));
#else #else
int main(int argc, const char *argv[]) int main(int argc, const char *argv[])
{ {