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

◆ ~Ptr()

template<typename T>
fl::Ptr< T >::~Ptr ( )
inline

Definition at line 51 of file ptr_impl.h.

51 {
52 if (referent_ && isOwned()) {
53 referent_->unref();
54 }
55}
T * referent_
Definition ptr.h:184
bool isOwned() const
Definition ptr.h:180

References isOwned(), and referent_.

+ Here is the call graph for this function: