Closed rostest closed 2 years ago
There's so many things wrong with that code... (not with your PR, but with that existing snippet of code). But your fix clearly makes the code do what the author intended, so I'm merging it!
P.S.: Next time, it's better to split whitespace fixes and actual changes into two separate commits. This makes spotting the real changes, rebasing etc. easier.
First of all, thanks for your ldmrs support! I got the following compiler warning using C++17 and ROS-2 humble:
The pull request just fixes the compiler warning by changing SopasBase.cpp lines 1557 and 1558 to