Fixed some warnings, set -Wall, -Wextra

This commit is contained in:
MihailRis
2023-09-19 14:14:50 +03:00
committed by GitHub
parent 0837f8945f
commit eaf1fa54cd
7 changed files with 12 additions and 10 deletions
-2
View File
@@ -3,9 +3,7 @@
#include <map>
#include <unordered_map>
#ifndef std::string
#include <string>
#endif
class Player;
#define REGION_SIZE_BIT 5
-2
View File
@@ -1,9 +1,7 @@
#ifndef FILES_FILES_H_
#define FILES_FILES_H_
#ifndef std::string
#include <string>
#endif
extern bool write_binary_file(std::string filename, const char* data, size_t size);
extern unsigned int append_binary_file(std::string filename, const char* data, size_t size);