1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Warning fix (I moved C++17 and CI to another branch) (#739)

* clang warning fixes
* use CMake 3.10 due to MXE CI does not have 3.13 yet

Co-authored-by: Konstantin <rilian@niisi.ras.ru>
This commit is contained in:
Konstantin
2022-05-19 15:14:50 +03:00
committed by GitHub
parent 55b8aac63e
commit c6b198ce14
20 changed files with 37 additions and 22 deletions

View File

@@ -521,7 +521,7 @@ public:
std::unique_ptr<FileStream> sfile;
CLoadFile(const boost::filesystem::path & fname, int minimalVersion = SERIALIZATION_VERSION); //throws!
~CLoadFile();
virtual ~CLoadFile();
int read(void * data, unsigned size) override; //throws!
void openNextFile(const boost::filesystem::path & fname, int minimalVersion); //throws!