mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix android build
This commit is contained in:
parent
25803b3c3a
commit
1250f67771
@ -1124,8 +1124,7 @@ void CVCMIServer::create(const std::vector<std::string> & args)
|
||||
std::vector<const void *> argv = {foo};
|
||||
for(auto & a : args)
|
||||
argv.push_back(a.c_str());
|
||||
|
||||
main(argv.size(), const_cast<char **>(foo));
|
||||
main(argv.size(), reinterpret_cast<char **>(const_cast<void **>(&*argv.begin())));
|
||||
}
|
||||
#elif defined(SINGLE_PROCESS_APP)
|
||||
void CVCMIServer::create(boost::condition_variable * cond, const std::vector<std::string> & args)
|
||||
|
Loading…
Reference in New Issue
Block a user