Skip to content

Commit 2ffcda3

Browse files
authored
Merge pull request #745 from pbalcer/fix-cov
[umf] fix the last remaining coverity issue
2 parents 0169603 + 1fb8a21 commit 2ffcda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unified_malloc_framework/memoryPool.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ TEST_P(umfMultiPoolTest, memoryTracking) {
284284
ASSERT_EQ(pool, expectedPool);
285285
}
286286

287-
for (auto p : ptrs) {
287+
for (auto &p : ptrs) {
288288
umfFree(std::get<0>(p));
289289
}
290290
}

0 commit comments

Comments
 (0)