refactor: Remove CBlockFileInfo::SetNull

This commit is contained in:
MarcoFalke
2023-10-20 13:28:11 +02:00
parent fc1073bb45
commit fac36b94ef
3 changed files with 9 additions and 24 deletions

View File

@@ -254,7 +254,7 @@ void BlockManager::PruneOneBlockFile(const int fileNumber)
}
}
m_blockfile_info[fileNumber].SetNull();
m_blockfile_info.at(fileNumber) = CBlockFileInfo{};
m_dirty_fileinfo.insert(fileNumber);
}

View File

@@ -32,7 +32,6 @@
class BlockValidationState;
class CAutoFile;
class CBlock;
class CBlockFileInfo;
class CBlockUndo;
class CChainParams;
class Chainstate;