diff options
Diffstat (limited to 'lldb/source/Symbol/SymbolFile.cpp')
-rw-r--r-- | lldb/source/Symbol/SymbolFile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Symbol/SymbolFile.cpp b/lldb/source/Symbol/SymbolFile.cpp index f29149d3bb2..4576bcfd10c 100644 --- a/lldb/source/Symbol/SymbolFile.cpp +++ b/lldb/source/Symbol/SymbolFile.cpp @@ -59,7 +59,7 @@ SymbolFile *SymbolFile::FindPlugin(ObjectFile *obj_file) { ++idx) { std::unique_ptr<SymbolFile> curr_symfile_ap(create_callback(obj_file)); - if (curr_symfile_ap.get()) { + if (curr_symfile_ap) { const uint32_t sym_file_abilities = curr_symfile_ap->GetAbilities(); if (sym_file_abilities > best_symfile_abilities) { best_symfile_abilities = sym_file_abilities; @@ -71,7 +71,7 @@ SymbolFile *SymbolFile::FindPlugin(ObjectFile *obj_file) { } } } - if (best_symfile_ap.get()) { + if (best_symfile_ap) { // Let the winning symbol file parser initialize itself more completely // now that it has been chosen best_symfile_ap->InitializeObject(); |