Conversation
|
I was not sure if there was any restriction not to use const, thats why i asked. I could extend the PR with more positions for "const auto&" if you like. |
Sure, go! If the tests will be passed, I'll be happy :). Btw you could review the tests too, may be you will find some lack there too (for eg. you're checking the code...) |
with changes from e9bf9ad nothing is modified anymore
|
|
Hi @edding3000, sorry for the long delay, it seems like this PR is ready to merge. Just one question: could you merge the current v3/master into this one? |
|
also please take a look at the few request changes. |
|
@airween I merged v3/master. cppcheck fails now. Can you see the reason? |
Yes: I think So what you can try now:
Do you have |
2539f80 to
0f8c668
Compare
|
|
Thx for your hint. I build cppcheck from source, but it did not find this - perhaps I did not use correct settings. Anyway, warning is fixed now. |



what
Range based for loops with references are already used in this project, but in a few places not.
I am not sure why. I changed this code locations and executed unit tests.
Also use '*' for pointers when using auto keyword, makes it more readable.
why
Improve performance a little bit.
questions
"const auto&" could also be used in many places. Is there a reason why it is not used?