osrf/osrf_testing_tools_cpp

Missing cstring include

oysstu opened this issue · 0 comments

memcpy(some_memory, str.c_str(), str.length());
memcpy((void *)side_effect, some_memory, str.length());

The use of memcpy requires including cstring. Fails to compile on gcc 12.1