Make* -> Driver::Create. Having these floating in arch.h isn't
useful; if you create the class, you need the class definition to free it, and anyone creating a class is probably going to use it, too.
This commit is contained in:
@@ -896,7 +896,7 @@ int main(int argc, char* argv[])
|
||||
SetCommandlineArguments( argc, argv );
|
||||
|
||||
/* Set up arch hooks first. This may set up crash handling. */
|
||||
HOOKS = MakeArchHooks();
|
||||
HOOKS = ArchHooks::Create();
|
||||
HOOKS->Init();
|
||||
#if !defined(DEBUG)
|
||||
/* Tricky: for other exceptions, we want a backtrace. To do this in Windows,
|
||||
|
||||
Reference in New Issue
Block a user