From 7d842086f211dbc6b843aefb233f4fac02764a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Reis?= Date: Fri, 21 Nov 2014 09:55:00 +0000 Subject: [PATCH] Removed redundant return --- include/ros_roah_rsbb.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/ros_roah_rsbb.h b/include/ros_roah_rsbb.h index 96f30e4..d7c07a6 100644 --- a/include/ros_roah_rsbb.h +++ b/include/ros_roah_rsbb.h @@ -198,7 +198,7 @@ namespace roah_rsbb set_rsbb_beacon_callback (void (T::*callback) (boost::asio::ip::udp::endpoint, uint16_t, uint16_t, std::shared_ptr), T* obj) { - return set_rsbb_beacon_callback (boost::bind (callback, obj, _1, _2, _3, _4)); + set_rsbb_beacon_callback (boost::bind (callback, obj, _1, _2, _3, _4)); } void @@ -211,7 +211,7 @@ namespace roah_rsbb set_robot_beacon_callback (void (T::*callback) (boost::asio::ip::udp::endpoint, uint16_t, uint16_t, std::shared_ptr), T* obj) { - return set_robot_beacon_callback (boost::bind (callback, obj, _1, _2, _3, _4)); + set_robot_beacon_callback (boost::bind (callback, obj, _1, _2, _3, _4)); } void @@ -224,7 +224,7 @@ namespace roah_rsbb set_tablet_beacon_callback (void (T::*callback) (boost::asio::ip::udp::endpoint, uint16_t, uint16_t, std::shared_ptr), T* obj) { - return set_tablet_beacon_callback (boost::bind (callback, obj, _1, _2, _3, _4)); + set_tablet_beacon_callback (boost::bind (callback, obj, _1, _2, _3, _4)); } }; @@ -290,7 +290,7 @@ namespace roah_rsbb set_benchmark_state_callback (void (T::*callback) (boost::asio::ip::udp::endpoint, uint16_t, uint16_t, std::shared_ptr), T* obj) { - return set_benchmark_state_callback (boost::bind (callback, obj, _1, _2, _3, _4)); + set_benchmark_state_callback (boost::bind (callback, obj, _1, _2, _3, _4)); } void @@ -303,7 +303,7 @@ namespace roah_rsbb set_robot_state_callback (void (T::*callback) (boost::asio::ip::udp::endpoint, uint16_t, uint16_t, std::shared_ptr), T* obj) { - return set_robot_state_callback (boost::bind (callback, obj, _1, _2, _3, _4)); + set_robot_state_callback (boost::bind (callback, obj, _1, _2, _3, _4)); } }; }