mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-09 11:35:21 +01:00
C++ modernize: Pragma once (#6264)
* Migrate cpp headers to pragma once
This commit is contained in:
@@ -19,8 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MAPGEN_CARPATHIAN_HEADER
|
||||
#define MAPGEN_CARPATHIAN_HEADER
|
||||
#pragma once
|
||||
|
||||
#include "mapgen.h"
|
||||
|
||||
@@ -101,5 +100,3 @@ private:
|
||||
float terrainLevelAtPoint(s16 x, s16 z);
|
||||
int generateTerrain();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user