Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ Finish
Method
Finish
src/saveload/saveload.cpp:2418–2424 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2416
}
2417
2418
void Finish() override
2419
{
2420
if (this->file.has_value()) {
2421
_game_session_stats.savegame_size = ftell(*this->file);
2422
this->file.reset();
2423
}
2424
}
2425
};
2426
2427
/*******************************************
Callers
5
~FileWriter
Method · 0.95
AddFile
Method · 0.45
Flush
Method · 0.45
Finish
Method · 0.45
Finish
Method · 0.45
Calls
1
reset
Method · 0.45
Tested by
no test coverage detected