mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-11 15:09:48 +08:00
remove unused 'this' capture
This commit is contained in:
Regular → Executable
+1
-2
@@ -452,8 +452,7 @@ void OBCameraNode::publishDepthFiltersStatus() {
|
|||||||
depth_filters_snapshot = depth_filter_list_;
|
depth_filters_snapshot = depth_filter_list_;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto find_depth_filter = [&depth_filters_snapshot,
|
auto find_depth_filter = [&depth_filters_snapshot](const std::string &filter_name) -> std::shared_ptr<ob::Filter> {
|
||||||
this](const std::string &filter_name) -> std::shared_ptr<ob::Filter> {
|
|
||||||
const auto normalized_name = normalizeDepthFilterName(filter_name);
|
const auto normalized_name = normalizeDepthFilterName(filter_name);
|
||||||
auto it = std::find_if(depth_filters_snapshot.begin(), depth_filters_snapshot.end(),
|
auto it = std::find_if(depth_filters_snapshot.begin(), depth_filters_snapshot.end(),
|
||||||
[&normalized_name](const auto &filter) {
|
[&normalized_name](const auto &filter) {
|
||||||
|
|||||||
Reference in New Issue
Block a user