Skip to content

Commit

Permalink
Make return value const reference
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Perron <[email protected]>
  • Loading branch information
jacobperron committed May 19, 2020
1 parent bec2ecb commit 5bcfe93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gazebo_ros/include/gazebo_ros/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class Node : public rclcpp::Node
*/
static rclcpp::Parameter sdf_to_ros_parameter(sdf::ElementPtr const & _sdf);

inline gazebo_ros::QoS get_qos() const &
inline const gazebo_ros::QoS & get_qos() const
{
return this->qos_;
}
Expand Down

0 comments on commit 5bcfe93

Please sign in to comment.