Skip to content

Commit 8210589

Browse files
Generalize find_control_protocol_resource
1 parent fa2eea2 commit 8210589

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Development/nmos/control_protocol_utils.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -623,8 +623,7 @@ namespace nmos
623623
auto found_tp = std::find_if(tps.begin(), tps.end(), [resource_id](const web::json::value& touchpoint)
624624
{
625625
auto& resource = nmos::fields::nc::resource(touchpoint);
626-
return (resource_id == nmos::fields::nc::id(resource).as_string()
627-
&& nmos::ncp_touchpoint_resource_types::receiver.name == nmos::fields::nc::resource_type(resource));
626+
return (resource_id == nmos::fields::nc::id(resource).as_string());
628627
});
629628
return (tps.end() != found_tp);
630629
}

0 commit comments

Comments
 (0)