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

◆ operator=() [2/5]

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

Definition at line 64 of file weak_ptr.h.

64 {
65 if (this != &other) {
66 release();
67 mPtr = other.mPtr;
69 if (mControlBlock) {
70 ++mControlBlock->weak_count;
71 }
72 }
73 return *this;
74 }
detail::ControlBlockBase * mControlBlock
Definition weak_ptr.h:14
void release() FL_NOEXCEPT
Definition weak_ptr.h:184

References weak_ptr, FL_NOEXCEPT, mControlBlock, mPtr, and release().

+ Here is the call graph for this function: