directorymonitor.cpp:363] -> [directorymonitor.cpp:372]: (error) Iterator 'it' used after element has been erased. directorymonitor.cpp:405] -> [directorymonitor.cpp:411]: (error) Iterator 'it' used after element has been erased.
Can you share a bit more details? Like which tool is generating this errors? Which revision are you static analysing and so on?
This is a possible patch, valid for C++11 and newer.
Yes, it is possible patch...
Like which tool is generating this errors?
cppcheck. From sourceforge. Recommended for all C/C++ code.
Applied, thanks for the contribution
Log in to post a comment.
Can you share a bit more details?
Like which tool is generating this errors?
Which revision are you static analysing and so on?
This is a possible patch, valid for C++11 and newer.
Yes, it is possible patch...
cppcheck. From sourceforge. Recommended for all C/C++ code.
Applied, thanks for the contribution