| 3563 | } // namespace |
| 3564 | |
| 3565 | TxGraph::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 | |
| 3574 | TxGraph::Ref::Ref(Ref&& other) noexcept |
| 3575 | { |