Skip to content

Commit 1fb8a21

Browse files
committed
[umf] fix the last remaining coverity issue
1 parent d3fa9ca commit 1fb8a21

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
@@ -117,7 +117,7 @@ TEST_P(umfMultiPoolTest, memoryTracking) {
117117
ASSERT_EQ(pool, expectedPool);
118118
}
119119

120-
for (auto p : ptrs) {
120+
for (auto &p : ptrs) {
121121
umfFree(std::get<0>(p));
122122
}
123123
}

0 commit comments

Comments
 (0)