FastLED 3.10.8
Loading...
Searching...
No Matches

◆ operator=()

Spi & fl::Spi::operator= ( Spi && other)

Move assignment.

Definition at line 69 of file spi.cpp.hpp.

69 {
70 if (this != &other) {
71 device = fl::move(other.device);
72 is_ok = other.is_ok;
73 error_code = other.error_code;
74 other.is_ok = false;
75 }
76 return *this;
77}
SPIError error_code
Definition spi.h:144
fl::unique_ptr< spi::MultiLaneDevice > device
Definition spi.h:142
bool is_ok
Definition spi.h:143
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:30

References Spi(), device, error_code, fl::FL_NO_EXCEPT, is_ok, and fl::adl_barrier::move().

+ Here is the call graph for this function: