diff options
-rw-r--r-- | src/common/dwarf_cu_to_module.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/dwarf_cu_to_module.cc b/src/common/dwarf_cu_to_module.cc index 527a7046..e5071ba7 100644 --- a/src/common/dwarf_cu_to_module.cc +++ b/src/common/dwarf_cu_to_module.cc @@ -558,7 +558,7 @@ bool DwarfCUToModule::FuncHandler::EndAttributes() { return true; } -static bool IsEmptyRange(vector<Module::Range> ranges) { +static bool IsEmptyRange(const vector<Module::Range>& ranges) { uint64 size = accumulate(ranges.cbegin(), ranges.cend(), 0, [](uint64 total, Module::Range entry) { return total + entry.size; |