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);
49
if
(
shared_count
==
NO_TRACKING_VALUE
) {
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
}
fl::detail::ControlBlockBase::NO_TRACKING_VALUE
static constexpr fl::u32 NO_TRACKING_VALUE
Definition
shared_ptr.h:32
fl::detail::ControlBlockBase::shared_count
fl::atomic_u32 shared_count
Definition
shared_ptr.h:28
References
NO_TRACKING_VALUE
, and
shared_count
.
fl
detail
ControlBlockBase
Generated on Fri Aug 22 2025 20:59:37 for FastLED by
1.13.2