Common: Remove Common::make_unique, use std::make_unique
This commit is contained in:
parent
b83e95727f
commit
a06dcfeb61
24 changed files with 46 additions and 73 deletions
|
@ -3,8 +3,7 @@
|
|||
// Refer to the license.txt file included.
|
||||
|
||||
#include <cstring>
|
||||
|
||||
#include "common/make_unique.h"
|
||||
#include <memory>
|
||||
|
||||
#include "core/arm/skyeye_common/armstate.h"
|
||||
#include "core/arm/skyeye_common/armsupp.h"
|
||||
|
@ -18,7 +17,7 @@
|
|||
#include "core/core_timing.h"
|
||||
|
||||
ARM_DynCom::ARM_DynCom(PrivilegeMode initial_mode) {
|
||||
state = Common::make_unique<ARMul_State>(initial_mode);
|
||||
state = std::make_unique<ARMul_State>(initial_mode);
|
||||
}
|
||||
|
||||
ARM_DynCom::~ARM_DynCom() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue