mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:07:35 +00:00
Profiler: Add some implied auto qualifiers
This commit is contained in:
parent
d001f8ba70
commit
39a4c0e6ce
11 changed files with 40 additions and 40 deletions
|
@ -135,7 +135,7 @@ GUI::Variant ProfileModel::data(const GUI::ModelIndex& index, GUI::ModelRole rol
|
|||
if (index.column() == Column::SymbolAddress) {
|
||||
if (node->is_root())
|
||||
return "";
|
||||
auto library = node->process().library_metadata.library_containing(node->address());
|
||||
auto const* library = node->process().library_metadata.library_containing(node->address());
|
||||
if (!library)
|
||||
return "";
|
||||
return String::formatted("{:p} (offset {:p})", node->address(), node->address() - library->base);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue