We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae6bb3 commit d2ec918Copy full SHA for d2ec918
lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
@@ -133,8 +133,8 @@ DynamicRegisterInfo *OperatingSystemPython::GetDynamicRegisterInfo() {
133
if (!dictionary)
134
return nullptr;
135
136
- m_register_info_up.reset(new DynamicRegisterInfo(
137
- *dictionary, m_process->GetTarget().GetArchitecture()));
+ m_register_info_up = std::make_unique<DynamicRegisterInfo>(
+ *dictionary, m_process->GetTarget().GetArchitecture());
138
assert(m_register_info_up->GetNumRegisters() > 0);
139
assert(m_register_info_up->GetNumRegisterSets() > 0);
140
}
0 commit comments