Skip to content

Commit

Permalink
Shared publisher handle. (ros2#420)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
  • Loading branch information
clalancette authored May 28, 2020
1 parent db20005 commit c8b8aaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GenericPublisher::GenericPublisher(
void GenericPublisher::publish(std::shared_ptr<rmw_serialized_message_t> message)
{
auto return_code = rcl_publish_serialized_message(
get_publisher_handle(), message.get(), NULL);
get_publisher_handle().get(), message.get(), NULL);

if (return_code != RCL_RET_OK) {
rclcpp::exceptions::throw_from_rcl_error(return_code, "failed to publish serialized message");
Expand Down
2 changes: 1 addition & 1 deletion zstd_vendor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ macro(build_zstd)

include(ExternalProject)
# The CMakeLists.txt file for zstd is in a subdirectory.
# We need to configure the CMake command to build from there instead.
# We need to configure the CMake command to build from there instead.
ExternalProject_Add(zstd-1.4.4
URL https://github.com/facebook/zstd/archive/v1.4.4.zip
URL_MD5 3a5c3a535280b7f4dfdbd739fcc7173f
Expand Down

0 comments on commit c8b8aaa

Please sign in to comment.