mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Style: Replace header guards with #pragma once
This commit is contained in:
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GRID_MAP_EDITOR_PLUGIN_H
|
||||
#define GRID_MAP_EDITOR_PLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
@@ -301,5 +300,3 @@ public:
|
||||
};
|
||||
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
#endif // GRID_MAP_EDITOR_PLUGIN_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GRID_MAP_H
|
||||
#define GRID_MAP_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/3d/node_3d.h"
|
||||
#include "scene/resources/3d/mesh_library.h"
|
||||
@@ -313,5 +312,3 @@ public:
|
||||
GridMap();
|
||||
~GridMap();
|
||||
};
|
||||
|
||||
#endif // GRID_MAP_H
|
||||
|
||||
@@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GRIDMAP_REGISTER_TYPES_H
|
||||
#define GRIDMAP_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_gridmap_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_gridmap_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // GRIDMAP_REGISTER_TYPES_H
|
||||
|
||||
Reference in New Issue
Block a user