Skip to content

Commit 6691e63

Browse files
committed
Fixed compilation with GCC-7
1 parent 551bdf6 commit 6691e63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ut/columns_ut.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ auto SameValueSeq(const U & value) {
8585

8686
template <typename ResultType, typename Generator1, typename Generator2>
8787
auto AlternateGenerators(Generator1 && gen1, Generator2 && gen2) {
88-
return [=](size_t i) -> ResultType {
88+
return [&gen1, &gen2](size_t i) -> ResultType {
8989
if (i % 2 == 0)
9090
return gen1(i/2);
9191
else

0 commit comments

Comments
 (0)