Skip to content

Commit a0f318a

Browse files
committed
[RDF] Fix a warning in an RSlotStack test.
1 parent 55ccbd4 commit a0f318a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/dataframe/test/dataframe_nodes.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ TEST(RDataFrameNodes, RSlotStackUnique)
8181
remove(slot.fSlot, threadId);
8282
};
8383

84-
auto runThreads = [&slotTask, &N]() {
84+
auto runThreads = [=, &slotTask]() {
8585
std::vector<std::thread> ts;
8686
for (unsigned int i = 0; i < 2 * N; ++i) {
8787
ts.emplace_back(slotTask, i);

0 commit comments

Comments
 (0)