https://github.com/bitcoin/bitcoin/blob/68f3c7eb080e461cfeac37f8db7034fe507241d0/src/prevector.h#L152-L158

I'm opening an issue as its fix is too tiny to become a pull request.

Can be solved by renaming the struct to
```c
     struct indirect_contents { 
         size_type capacity; 
         char* indirect; 
     }; 
```
~CMainCleanup() {
        
        BlockMap::iterator it1 = g_chainman.BlockIndex().begin();
        for (; it1 != g_chainman.BlockIndex().end(); it1++)
            delete (*it1).second;
        g_chainman.BlockIndex().clear();
    }
};
static CMainCleanup instance_of_cmaincleanup;
Optional<uint256> ChainstateManager::SnapshotBlockhash() const {
    if (m_active_chainstate != nullptr) {
        
        return m_active_chainstate->m_from_snapshot_blockhash;
    }
    return {};
}
std::vector<CChainState*> ChainstateManager::GetAll()
{
    std::vector<CChainState*> out;
    if (!IsSnapshotValidated() && m_ibd_chainstate) {
        out.push_back(m_ibd_chainstate.get());
    }
    if (m_snapshot_chainstate) {
        out.push_back(m_snapshot_chainstate.get());
    }
    return out;
}
CChainState& ChainstateManager::InitializeChainstate(const uint256& snapshot_blockhash)