Skip to content

Commit

Permalink
fixed Windows error: no appropriate default constructor available
Browse files Browse the repository at this point in the history
why? who knows

Signed-off-by: William Woodall <william@osrfoundation.org>
  • Loading branch information
wjwwood committed May 2, 2019
1 parent e23b422 commit 7c59d90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions rclcpp/include/rclcpp/node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,8 @@ class Node : public std::enable_shared_from_this<Node>
create_publisher(
const std::string & topic_name,
const rclcpp::QoS & qos,
const rclcpp::PublisherOptionsWithAllocator<AllocatorT> & options = (
rclcpp::PublisherOptionsWithAllocator<AllocatorT>()
));
const PublisherOptionsWithAllocator<AllocatorT> & options =
PublisherOptionsWithAllocator<AllocatorT>());

/// Create and return a Publisher.
/**
Expand Down

0 comments on commit 7c59d90

Please sign in to comment.