opencamlib
opencamlib copied to clipboard
VS2019 compilation warning
Hello,
I get a warning when compiling on VS2019, that was not when previously compiling in VS2015.
smart_weave.cpp ##[warning]src\algo\smart_weave.cpp(338,33): Warning C4834: discarding return value of function with 'nodiscard' attribut
for( in_edge_itr = in_edges.begin(), out_edge_itr = out_edges.begin();
in_edge_itr < in_edges.end(), out_edge_itr < out_edges.end();
in_edge_itr++, out_edge_itr++ )
in 2nd line of code in_edge_itr < in_edges.end() with the operator <
What is the consequence ? Can someone have an idea for a fix ?
Thank you