remove wrong const

This commit is contained in:
Dirk Thomas 2014-08-13 11:58:25 -07:00
parent 1ae1dd2f2f
commit b1bce0aa4e
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ public:
{
// Do callback
std::cout << "Callback for subscriber of topic: " << subscriber->topic_name_ << std::endl;
const void *ros_msg = 0;
void * ros_msg = 0;
bool taken = ros_middleware_interface::take(subscriber->subscriber_handle_, ros_msg);
if (taken)
{

View file

@ -13,7 +13,7 @@ elseif(NOT "$ENV{ROS_MIDDLEWARE_IMPLEMENTATION}" STREQUAL "")
set(_middleware_implementation "$ENV{ROS_MIDDLEWARE_IMPLEMENTATION}")
else()
# TODO detemine "default" implementation based on the available ones
list(GET _middleware_implementations 1 _middleware_implementation)
list(GET _middleware_implementations 0 _middleware_implementation)
endif()
list(FIND _middleware_implementations "${_middleware_implementation}" _index)