Skip to content

Commit 21514dc

Browse files
committed
[DF][Win] Fix compiler error C3493
Fix the following compiler error on WIndows: ``` dataframe_nodes.cxx(86,40): error C3493: 'N' cannot be implicitly captured because no default capture mode has been specified ```
1 parent af43461 commit 21514dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree/dataframe/test/dataframe_nodes.cxx

Lines changed: 1 addition & 1 deletion
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]() {
84+
auto runThreads = [&slotTask, &N]() {
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)