replace include guards with pragma once
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef LIGHTING_LIGHTSOLVER_HPP_
|
||||
#define LIGHTING_LIGHTSOLVER_HPP_
|
||||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
|
||||
@@ -27,5 +26,3 @@ public:
|
||||
void remove(int x, int y, int z);
|
||||
void solve();
|
||||
};
|
||||
|
||||
#endif // LIGHTING_LIGHTSOLVER_HPP_
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
#ifndef LIGHTING_LIGHTING_HPP_
|
||||
#define LIGHTING_LIGHTING_HPP_
|
||||
|
||||
#pragma once
|
||||
#include "typedefs.hpp"
|
||||
|
||||
class Content;
|
||||
@@ -27,5 +25,3 @@ public:
|
||||
|
||||
static void prebuildSkyLight(Chunk* chunk, const ContentIndices* indices);
|
||||
};
|
||||
|
||||
#endif /* LIGHTING_LIGHTING_HPP_ */
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef LIGHTING_LIGHTMAP_HPP_
|
||||
#define LIGHTING_LIGHTMAP_HPP_
|
||||
#pragma once
|
||||
|
||||
#include "constants.hpp"
|
||||
#include "typedefs.hpp"
|
||||
@@ -86,5 +85,3 @@ public:
|
||||
std::unique_ptr<ubyte[]> encode() const;
|
||||
static std::unique_ptr<light_t[]> decode(const ubyte* buffer);
|
||||
};
|
||||
|
||||
#endif // LIGHTING_LIGHTMAP_HPP_
|
||||
|
||||
Reference in New Issue
Block a user