mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00:00
[lldb/API] Use std::make_unique<> (NFC)
I was holding off on this change until we moved to C++14 as to not have to convert llvm::make_unique to std::make_unique. That happened a while ago so here's the first patch for the API which had a bunch of raw `new`s.
This commit is contained in:
1 parent
6330653547
commit
1c0bbe4341
16 files changed
+40
-39
No files matched your search
@@ -97,7 +97,7 @@ operator=(const SBVariablesOptions &options) {
|
||||
SBVariablesOptions, operator=,(const lldb::SBVariablesOptions &),
|
||||
options);
|
||||
|
||||
m_opaque_up.reset(new VariablesOptionsImpl(options.ref()));
|
||||
m_opaque_up = std::make_unique<VariablesOptionsImpl>(options.ref());
|
||||
return LLDB_RECORD_RESULT(*this);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user