MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ remove_reference_region()

void MayaFlux::Kakshya::remove_reference_region ( std::vector< std::pair< std::string, Region > > &  refs,
const std::string &  name 
)

Remove a named reference region from a reference list.

Parameters
refsReference list (name, Region) pairs.
nameName of the reference to remove.

Definition at line 139 of file RegionUtils.cpp.

140{
141 auto to_remove = std::ranges::remove_if(refs,
142 [&name](const auto& pair) { return pair.first == name; });
143 refs.erase(to_remove.begin(), to_remove.end());
144}

References remove_reference_region().

Referenced by remove_reference_region().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: