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

◆ remove_shared_ref()

bool fl::detail::ControlBlockBase::remove_shared_ref ( )
inline

Definition at line 47 of file shared_ptr.h.

47 {
48 //FASTLED_WARN("ControlBlockBase::remove_shared_ref() called: this=" << this);
50 //FASTLED_WARN("In no-tracking mode, returning false");
51 return false; // Never destroy in no-tracking mode
52 }
53 bool result = (--shared_count == 0);
54 //FASTLED_WARN("After decrement, returning: " << result);
55 return result;
56 }
static constexpr fl::u32 NO_TRACKING_VALUE
Definition shared_ptr.h:32
fl::atomic_u32 shared_count
Definition shared_ptr.h:28

References NO_TRACKING_VALUE, and shared_count.