mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
Fixed some warnings, set -Wall, -Wextra
This commit is contained in:
parent
0837f8945f
commit
eaf1fa54cd
7 changed files with 12 additions and 10 deletions
|
|
@ -3,9 +3,7 @@
|
|||
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#ifndef std::string
|
||||
#include <string>
|
||||
#endif
|
||||
class Player;
|
||||
|
||||
#define REGION_SIZE_BIT 5
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue