summaryrefslogtreecommitdiff
path: root/src/content_mapnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/content_mapnode.h')
-rw-r--r--src/content_mapnode.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/content_mapnode.h b/src/content_mapnode.h
index 9fa4e6d13..76c3f6cd1 100644
--- a/src/content_mapnode.h
+++ b/src/content_mapnode.h
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef CONTENT_MAPNODE_HEADER
-#define CONTENT_MAPNODE_HEADER
+#pragma once
#include "mapnode.h"
@@ -33,5 +32,3 @@ MapNode mapnode_translate_to_internal(MapNode n_from, u8 version);
// Get legacy node name mapping for loading old blocks
class NameIdMapping;
void content_mapnode_get_name_id_mapping(NameIdMapping *nimap);
-
-#endif