mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
Saveload: Tag functions returning SaveLoadTableData with [[nodiscard]]
This commit is contained in:
parent
fa69a975f3
commit
a24a39a6af
@ -1093,9 +1093,9 @@ struct TableHeaderSpecialHandler {
|
||||
|
||||
bool SlIsTableChunk();
|
||||
void SlSkipTableHeader();
|
||||
SaveLoadTableData SlTableHeader(const NamedSaveLoadTable &slt, TableHeaderSpecialHandler *special_handler = nullptr);
|
||||
SaveLoadTableData SlTableHeaderOrRiff(const NamedSaveLoadTable &slt);
|
||||
SaveLoadTableData SlPrepareNamedSaveLoadTableForPtrOrNull(const NamedSaveLoadTable &slt);
|
||||
[[nodiscard]] SaveLoadTableData SlTableHeader(const NamedSaveLoadTable &slt, TableHeaderSpecialHandler *special_handler = nullptr);
|
||||
[[nodiscard]] SaveLoadTableData SlTableHeaderOrRiff(const NamedSaveLoadTable &slt);
|
||||
[[nodiscard]] SaveLoadTableData SlPrepareNamedSaveLoadTableForPtrOrNull(const NamedSaveLoadTable &slt);
|
||||
void SlSaveTableObjectChunk(const SaveLoadTable &slt);
|
||||
void SlLoadTableOrRiffFiltered(const SaveLoadTable &slt);
|
||||
void SlLoadTableWithArrayLengthPrefixesMissing();
|
||||
|
Loading…
Reference in New Issue
Block a user