Skip to content

Commit 00ef7b9

Browse files
committed
[uma] remove unused variables from a tuple
1 parent 7871680 commit 00ef7b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unified_memory_allocation/memoryPool.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ TEST_P(umaMultiPoolTest, memoryTracking) {
117117
ASSERT_EQ(pool, expectedPool);
118118
}
119119

120-
for (auto [ptr, _1, _2] : ptrs) {
121-
umaFree(ptr);
120+
for (auto p : ptrs) {
121+
umaFree(std::get<0>(p));
122122
}
123123
}
124124

0 commit comments

Comments
 (0)