1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Use std::byte in serializer

This commit is contained in:
Ivan Savenko
2024-02-02 02:36:57 +02:00
parent 29c0989849
commit 03fcfe3392
19 changed files with 41 additions and 50 deletions

View File

@@ -23,7 +23,7 @@ public:
CSaveFile(const boost::filesystem::path &fname); //throws!
~CSaveFile();
int write(const void * data, unsigned size) override;
int write(const std::byte * data, unsigned size) override;
void openNextFile(const boost::filesystem::path &fname); //throws!
void clear();