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

◆ reset() [1/2]

template<typename T>
void fl::Ptr< T >::reset ( )
inline

Definition at line 84 of file ptr_impl.h.

84 {
85 if (referent_ && isOwned()) {
86 referent_->unref();
87 }
88 referent_ = nullptr;
89}
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: