Skip to content

Commit 2d4a356

Browse files
committed
typo
Signed-off-by: Skyler Medeiros <skye.galaxy@proton.me>
1 parent 82cb1f4 commit 2d4a356

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rclcpp_action/src/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ ServerBase::ServerBase(
160160
// This timer callback will be exchanged at the RCL layer
161161
// with a _timer_ callback that will call the _event_ callback
162162
// passed in by set_on_ready_callback.
163-
std::function<void()> timer_callback = [&] () {};
163+
std::function<void()> timer_callback = [] () {};
164164
pimpl_->expire_timer_ = std::make_shared<rclcpp::GenericTimer<decltype (timer_callback)>>(
165165
node_clock->get_clock(), std::chrono::nanoseconds(options.result_timeout.nanoseconds),
166166
std::move(timer_callback), node_base->get_context(), false);

0 commit comments

Comments
 (0)