ros-perception / image_common

Common code for working with images in ROS
http://www.ros.org/wiki/image_common
125 stars 220 forks source link

[ros2] add missing set header #140

Closed mikaelarguedas closed 4 years ago

mikaelarguedas commented 4 years ago

WIthout this it fails to compile on gcc 9.2 with the following:

/tmp/demo_deps_ws/src/image_common/image_transport/src/publisher.cpp:111:8: error: ‘set’ is not a member of ‘std’
  111 |   std::set<std::string> blacklist;
      |        ^~~
/tmp/demo_deps_ws/src/image_common/image_transport/src/publisher.cpp:44:1: note: ‘std::set’ is defined in header ‘<set>’; did you forget to ‘#include <set>’?

cc @mjcarroll

Signed-off-by: Mikael Arguedas mikael.arguedas@gmail.com

galou commented 4 years ago

Shouldn't this be back-ported to the dashing branch?