Quansight / pearu-sandbox

Pearu's sandbox
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

error: 'write_functions' in capture list does not name a variable #4

Open pearu opened 5 years ago

pearu commented 5 years ago
[ 34%] Building CXX object QueryEngine/CMakeFiles/QueryEngine.dir/ColumnarResults.cpp.o
/home/pearu/git/omnisci/omniscidb-internal/QueryEngine/ColumnarResults.cpp:635:32: error: 'write_functions' in capture list does not name a variable
                              &write_functions,

Solution, use

&write_functions = write_functions,

See https://stackoverflow.com/questions/7895879/using-member-variable-in-lambda-capture-list-inside-a-member-function