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

◆ operator=()

template<typename T>
WeakPtr< T > & fl::WeakPtr< T >::operator= ( const WeakPtr< T > & other)
inline

Definition at line 188 of file ptr_impl.h.

188 {
189 if (this != &other) {
190 if (mWeakPtr) {
191 mWeakPtr->unref();
192 }
194 if (mWeakPtr) {
195 mWeakPtr->ref();
196 }
197 }
198 return *this;
199}
WeakReferent * mWeakPtr
Definition ptr.h:234

References WeakPtr(), and mWeakPtr.

+ Here is the call graph for this function: