mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
more dehydra. disabled lockfree module (not in use).
This was SVN commit r6240.
This commit is contained in:
+2
-2
@@ -358,7 +358,7 @@ void kill_mainloop()
|
||||
|
||||
// moved into a helper function to ensure args is destroyed before
|
||||
// exit(), which may result in a memory leak.
|
||||
static void RunGameOrAtlas(int argc, char* argv[])
|
||||
static void RunGameOrAtlas(int argc, const char* argv[])
|
||||
{
|
||||
CmdLineArgs args(argc, argv);
|
||||
|
||||
@@ -386,7 +386,7 @@ int main(int argc, char* argv[])
|
||||
{
|
||||
EarlyInit(); // must come at beginning of main
|
||||
|
||||
RunGameOrAtlas(argc, argv);
|
||||
RunGameOrAtlas(argc, const_cast<const char**>(argv));
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user