We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 665db3f commit ba04b47Copy full SHA for ba04b47
src/web_video_server.cpp
@@ -146,7 +146,7 @@ void WebVideoServer::cleanup_inactive_streams()
146
if (lock) {
147
auto new_end = std::partition(
148
image_subscribers_.begin(), image_subscribers_.end(),
149
- !boost::bind(&ImageStreamer::isInactive, _1));
+ [](const std::shared_ptr<ImageStreamer> & streamer) {return !streamer->isInactive();});
150
if (verbose_) {
151
for (auto itr = new_end; itr < image_subscribers_.end(); ++itr) {
152
RCLCPP_INFO(node_->get_logger(), "Removed Stream: %s", (*itr)->getTopic().c_str());
0 commit comments