Author
anonymous
over 5 years ago
Language
Compiler
Options
Author
anonymous
over 5 years ago
$
prog.cc:10:3: warning: non-void lambda does not return a value in all control paths [-Wreturn-type]
})};
^
prog.cc:8:7: warning: unused variable 'vIter' [-Wunused-variable]
auto vIter{ std::find_if(v.begin(), v.end(), [](const int& num) {
^
2 warnings generated.
Signal:
Illegal instruction