Skip to content

Commit

Permalink
Merge pull request #17 from mattwilliamson/template-fix
Browse files Browse the repository at this point in the history
Fixing build error for Mac M1 / Apple clang version 14.0.3
  • Loading branch information
mgonzs13 authored May 5, 2024
2 parents 2830f3a + a9695fb commit 5f0b51f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yasmin_ros/include/yasmin_ros/monitor_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ template <typename MsgT> class MonitorState : public yasmin::State {
this->monitoring = false;

// create subscriber
this->sub = this->node->create_subscription<MsgT>(
this->sub = this->node->template create_subscription<MsgT>(
topic_name, qos, std::bind(&MonitorState::callback, this, _1));
}

Expand Down
2 changes: 1 addition & 1 deletion yasmin_ros/include/yasmin_ros/service_state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ template <typename ServiceT> class ServiceState : public yasmin::State {
this->node = node;
}

this->service_client = this->node->create_client<ServiceT>(srv_name);
this->service_client = this->node->template create_client<ServiceT>(srv_name);

this->create_request_handler = create_request_handler;
this->response_handler = response_handler;
Expand Down

0 comments on commit 5f0b51f

Please sign in to comment.