File tree Expand file tree Collapse file tree
micro_ros_agent/src/agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ bool Agent::create(
111111 const eprosima::fastdds::dds::DomainParticipant *,
112112 const eprosima::fastdds::dds::DataWriter *)> on_delete_datawriter
113113 ([&](
114- const eprosima::fastdds::dds::DomainParticipant* /* participant*/ ,
114+ const eprosima::fastdds::dds::DomainParticipant* participant,
115115 const eprosima::fastdds::dds::DataWriter* datawriter) -> void
116116 {
117117
@@ -207,7 +207,7 @@ std::shared_ptr<graph_manager::GraphManager> Agent::find_or_create_graph_manager
207207 auto it = graph_manager_map_.find (domain_id);
208208
209209 if (it != graph_manager_map_.end ()) {
210- return it->second () ;
210+ return it->second ;
211211 }else {
212212 return graph_manager_map_.insert (
213213 std::pair<
@@ -217,7 +217,7 @@ std::shared_ptr<graph_manager::GraphManager> Agent::find_or_create_graph_manager
217217 domain_id,
218218 std::make_shared<graph_manager::GraphManager>(domain_id)
219219 )
220- );
220+ ). first -> second ;
221221 }
222222}
223223
You can’t perform that action at this time.
0 commit comments