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

◆ remove()

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

Definition at line 29 of file function_list.h.

29 {
30 for (int i = mFunctions.size() - 1; i >= 0; --i) {
31 if (mFunctions[i].first == id) {
32 mFunctions.erase(mFunctions.begin() + i);
33 }
34 }
35 }
fl::vector< pair< int, FunctionType > > mFunctions

References mFunctions.