MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ~Ref

Method ~Ref

src/txgraph.cpp:3565–3572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3563} // namespace
3564
3565TxGraph::Ref::~Ref()
3566{
3567 if (m_graph) {
3568 // Inform the TxGraph about the Ref being destroyed.
3569 m_graph->UnlinkRef(m_index);
3570 m_graph = nullptr;
3571 }
3572}
3573
3574TxGraph::Ref::Ref(Ref&& other) noexcept
3575{

Callers

nothing calls this directly

Calls 1

UnlinkRefMethod · 0.80

Tested by

no test coverage detected