facontidavide / ros_type_introspection

Deserialize ROS messages that are unknown at compilation time
MIT License
61 stars 30 forks source link

fixed -Wreorder in ros_introspection.hpp #24

Closed moooeeeep closed 6 years ago

moooeeeep commented 6 years ago

The now swapped variables were initialized in a different order than they were declared. On my compiler this triggered the warning -Wreorder, which prevented me to compile with warnings treated as errors.

With this change, client code should be able to compile with -Werror.

facontidavide commented 6 years ago

Thanks