Skip to content

Commit

Permalink
callback corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
rex-schilasky committed Dec 5, 2024
1 parent b1e45ab commit 32e6949
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ int main(int argc, char** argv)
// create a subscriber (topic name "addressbook")
eCAL::capnproto::CDynamicSubscriber sub("addressbook");

auto lambda = [](const eCAL::Registration::STopicId& /*topic_id_*/, const eCAL::SDataTypeInformation& /*topic_info_*/, const capnp::DynamicValue::Reader& msg_, long long /*time_*/, long long /*clock_*/, long long /*id_*/) -> void {
auto lambda = [](const eCAL::Registration::STopicId& /*topic_id_*/, const capnp::DynamicValue::Reader& msg_, long long /*time_*/, long long /*clock_*/, long long /*id_*/) -> void {
dynamicPrintValue(msg_);
};
sub.AddReceiveCallback(lambda);
Expand Down

0 comments on commit 32e6949

Please sign in to comment.