aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/backends/BackendProfiling.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/backends/BackendProfiling.cpp')
-rw-r--r--src/profiling/backends/BackendProfiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/backends/BackendProfiling.cpp b/src/profiling/backends/BackendProfiling.cpp
index 4e6de93062..135174b478 100644
--- a/src/profiling/backends/BackendProfiling.cpp
+++ b/src/profiling/backends/BackendProfiling.cpp
@@ -32,7 +32,7 @@ IProfilingGuidGenerator& BackendProfiling::GetProfilingGuidGenerator()
void BackendProfiling::ReportCounters(const std::vector<Timestamp>& timestamps)
{
- for (const auto timestampInfo : timestamps)
+ for (const auto& timestampInfo : timestamps)
{
std::vector<CounterValue> backendCounterValues = timestampInfo.counterValues;
for_each(backendCounterValues.begin(), backendCounterValues.end(), [&](CounterValue& backendCounterValue)