Skip to content

Commit d4dd4e4

Browse files
alsoraapojomovsky
authored andcommitted
correct template syntax
Signed-off-by: Alberto Soragna <[email protected]>
1 parent 6d767b1 commit d4dd4e4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

rclcpp/include/rclcpp/client.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ class Client : public ClientBase
893893
// the server might be available in another process or was configured to not use IPC.
894894
if (intra_process_server_available) {
895895
// Send intra-process request
896-
ipm->send_intra_process_client_request<ServiceT>(
896+
ipm->template send_intra_process_client_request<ServiceT>(
897897
intra_process_client_id_,
898898
std::make_pair(std::move(request), std::move(value)));
899899
return ipc_sequence_number_++;

rclcpp_action/include/rclcpp_action/client.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ class Client : public ClientBase
516516
ipc_action_client_->store_goal_response_callback(
517517
hashed_guuid, goal_response_callback);
518518

519-
intra_process_send_done = ipm->intra_process_action_send_goal_request<ActionT>(
519+
intra_process_send_done = ipm->template intra_process_action_send_goal_request<ActionT>(
520520
ipc_action_client_id_,
521521
std::move(goal_request),
522522
hashed_guuid);
@@ -838,7 +838,7 @@ class Client : public ClientBase
838838
ipc_action_client_->store_result_response_callback(
839839
hashed_guuid, result_response_callback);
840840

841-
intra_process_send_done = ipm->intra_process_action_send_result_request<ActionT>(
841+
intra_process_send_done = ipm->template intra_process_action_send_result_request<ActionT>(
842842
ipc_action_client_id_,
843843
std::move(goal_result_request));
844844
}
@@ -894,7 +894,7 @@ class Client : public ClientBase
894894
ipc_action_client_->store_cancel_goal_callback(
895895
hashed_guuid, cancel_goal_callback);
896896

897-
intra_process_send_done = ipm->intra_process_action_send_cancel_request<ActionT>(
897+
intra_process_send_done = ipm->template intra_process_action_send_cancel_request<ActionT>(
898898
ipc_action_client_id_,
899899
std::move(cancel_request));
900900
}

rclcpp_action/include/rclcpp_action/server.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ class Server : public ServerBase, public std::enable_shared_from_this<Server<Act
512512

513513
auto ipm = lock_intra_process_manager();
514514

515-
ipm->intra_process_action_send_goal_response<ActionT>(
515+
ipm->template intra_process_action_send_goal_response<ActionT>(
516516
intra_process_action_client_id,
517517
std::move(goal_response),
518518
std::hash<GoalUUID>()(uuid));
@@ -576,7 +576,7 @@ class Server : public ServerBase, public std::enable_shared_from_this<Server<Act
576576

577577
GoalUUID uuid = request->goal_info.goal_id.uuid;
578578

579-
ipm->intra_process_action_send_cancel_response<ActionT>(
579+
ipm->template intra_process_action_send_cancel_response<ActionT>(
580580
intra_process_action_client_id,
581581
std::move(response),
582582
std::hash<GoalUUID>()(uuid));
@@ -615,7 +615,7 @@ class Server : public ServerBase, public std::enable_shared_from_this<Server<Act
615615
// Send the result now
616616
auto ipm = lock_intra_process_manager();
617617

618-
ipm->intra_process_action_send_result_response<ActionT>(
618+
ipm->template intra_process_action_send_result_response<ActionT>(
619619
intra_process_action_client_id,
620620
std::move(result_response),
621621
hashed_uuid);

0 commit comments

Comments
 (0)