Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pearu opened this issue Aug 22, 2019 · 0 comments
Open

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

pearu opened this issue Aug 22, 2019 · 0 comments
Labels
with a solution Issue has a solution

Comments

@pearu
Copy link
Contributor

pearu commented Aug 22, 2019

[ 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

@pearu pearu added the with a solution Issue has a solution label Aug 22, 2019
@pearu pearu changed the title [Failure] error: 'write_functions' in capture list does not name a variable error: 'write_functions' in capture list does not name a variable Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
with a solution Issue has a solution
Projects
None yet
Development

No branches or pull requests

1 participant