FastLED 3.9.15
Loading...
Searching...
No Matches

◆ remove()

template<typename FunctionType>
void fl::FunctionListBase< FunctionType >::remove ( int id)
inline

Definition at line 24 of file function_list.h.

24 {
25 for (int i = mFunctions.size() - 1; i >= 0; --i) {
26 if (mFunctions[i].first == id) {
27 mFunctions.erase(mFunctions.begin() + i);
28 }
29 }
30 }
fl::vector< pair< int, FunctionType > > mFunctions

References mFunctions.