FastLED 3.10.6
Loading...
Searching...
No Matches

◆ operator=()

template<EOrder RGB_ORDER, int LANES = 1, fl::u32 MASK = 0xFFFFFFFF>
PixelController & PixelController< RGB_ORDER, LANES, MASK >::operator= ( const PixelController< RGB_ORDER, LANES, MASK > & other)
inline

Copy assignment, through the same copy() as the copy constructor.

The implicit one would copy mLenRemaining verbatim while the copy constructor rewinds it to mLen, so the two copy paths disagreed.

Definition at line 143 of file pixel_controller.h.

143 {
144 if (this != &other) {
145 copy(other);
146 }
147 return *this;
148 }
void copy(const PixelControllerT &other)
Pixel controller class.

References PixelController(), and copy().

+ Here is the call graph for this function: