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

◆ operator=() [4/4]

template<typename T>
not_null & fl::not_null< T >::operator= ( T ptr)
inline

Definition at line 206 of file not_null.h.

206 {
207 if (ptr == nullptr) {
208 detail::not_null_assert_failed("not_null assigned nullptr");
209 }
210 mPtr = ptr;
211 return *this;
212 }
void not_null_assert_failed(const char *message)