C++11ing some things.
This commit is contained in:
@@ -46,10 +46,10 @@ void CleanupOnShutdown() {}
|
||||
PPCFrontend::PPCFrontend(Runtime* runtime) : Frontend(runtime) {
|
||||
InitializeIfNeeded();
|
||||
|
||||
ContextInfo* info =
|
||||
new ContextInfo(sizeof(PPCContext), offsetof(PPCContext, thread_state));
|
||||
std::unique_ptr<ContextInfo> context_info(
|
||||
new ContextInfo(sizeof(PPCContext), offsetof(PPCContext, thread_state)));
|
||||
// Add fields/etc.
|
||||
context_info_ = info;
|
||||
context_info_ = std::move(context_info);
|
||||
}
|
||||
|
||||
PPCFrontend::~PPCFrontend() {
|
||||
|
||||
Reference in New Issue
Block a user