mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix android build
This commit is contained in:
@@ -1124,8 +1124,7 @@ void CVCMIServer::create(const std::vector<std::string> & args)
|
|||||||
std::vector<const void *> argv = {foo};
|
std::vector<const void *> argv = {foo};
|
||||||
for(auto & a : args)
|
for(auto & a : args)
|
||||||
argv.push_back(a.c_str());
|
argv.push_back(a.c_str());
|
||||||
|
main(argv.size(), reinterpret_cast<char **>(const_cast<void **>(&*argv.begin())));
|
||||||
main(argv.size(), const_cast<char **>(foo));
|
|
||||||
}
|
}
|
||||||
#elif defined(SINGLE_PROCESS_APP)
|
#elif defined(SINGLE_PROCESS_APP)
|
||||||
void CVCMIServer::create(boost::condition_variable * cond, const std::vector<std::string> & args)
|
void CVCMIServer::create(boost::condition_variable * cond, const std::vector<std::string> & args)
|
||||||
|
Reference in New Issue
Block a user