diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2016-08-01 20:13:53 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-08-01 20:13:54 +0000 |
commit | 4efbce14b5b9075f0c190feb6603464f6207a24e (patch) | |
tree | 142de15041f5a0f8d4428c011e1e4c1422a3c2b7 /libbacktrace | |
parent | 9f05901b9ac580d93fb2cdf1bf8de9e64ba7570f (diff) | |
parent | 8f7b9e3d39cdae8363816aa7bcbab0d79fd70cea (diff) | |
download | core-4efbce14b5b9075f0c190feb6603464f6207a24e.tar.gz core-4efbce14b5b9075f0c190feb6603464f6207a24e.tar.bz2 core-4efbce14b5b9075f0c190feb6603464f6207a24e.zip |
Merge "Fix clang-tidy performance warnings in syste/core."
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/backtrace_offline_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbacktrace/backtrace_offline_test.cpp b/libbacktrace/backtrace_offline_test.cpp index 88a3533a2..d6dc2c960 100644 --- a/libbacktrace/backtrace_offline_test.cpp +++ b/libbacktrace/backtrace_offline_test.cpp @@ -73,7 +73,7 @@ static ucontext_t GetUContextFromUnwContext(const unw_context_t& unw_context) { return ucontext; } -static void OfflineBacktraceFunctionCall(std::function<int(void (*)(void*), void*)> function, +static void OfflineBacktraceFunctionCall(const std::function<int(void (*)(void*), void*)>& function, std::vector<uintptr_t>* pc_values) { // Create a thread to generate the needed stack and registers information. g_exit_flag = false; |