mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
CAutoFile: Explicit Get() and remove unused methods
Also add documentation to some methods.
This commit is contained in:
@@ -1939,7 +1939,7 @@ bool CAddrDB::Write(const CAddrMan& addr)
|
||||
catch (std::exception &e) {
|
||||
return error("%s : Serialize or I/O error - %s", __func__, e.what());
|
||||
}
|
||||
FileCommit(fileout);
|
||||
FileCommit(fileout.Get());
|
||||
fileout.fclose();
|
||||
|
||||
// replace existing peers.dat, if any, with new peers.dat.XXXX
|
||||
|
||||
Reference in New Issue
Block a user