Since m_get_const_function calls `std::vector<T>::operator[]`, accessing the zeroth element causes undefined behavior. Instead, return a null pointer to make the function behave sanely when vector is empty. Fix #120 |
||
|---|---|---|
| .. | ||
| include/rmw_cyclonedds_cpp | ||
| src | ||
| CHANGELOG.rst | ||
| CMakeLists.txt | ||
| package.xml | ||