mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-23 14:10:15 +01:00
refactor: Remove CBlockFileInfo::SetNull
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
class BlockValidationState;
|
||||
class CAutoFile;
|
||||
class CBlock;
|
||||
class CBlockFileInfo;
|
||||
class CBlockUndo;
|
||||
class CChainParams;
|
||||
class Chainstate;
|
||||
|
||||
Reference in New Issue
Block a user