Style: Replace header guards with #pragma once

This commit is contained in:
Thaddeus Crews
2025-02-01 10:33:58 -06:00
parent 96fdaa616b
commit 324512e11c
1746 changed files with 1767 additions and 6920 deletions

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef LIGHTMAP_RAYCASTER_EMBREE_H
#define LIGHTMAP_RAYCASTER_EMBREE_H
#pragma once
#ifdef TOOLS_ENABLED
@ -78,5 +77,3 @@ public:
};
#endif // TOOLS_ENABLED
#endif // LIGHTMAP_RAYCASTER_EMBREE_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef RAYCAST_OCCLUSION_CULL_H
#define RAYCAST_OCCLUSION_CULL_H
#pragma once
#include "core/math/projection.h"
#include "core/templates/local_vector.h"
@ -190,5 +189,3 @@ public:
RaycastOcclusionCull();
~RaycastOcclusionCull();
};
#endif // RAYCAST_OCCLUSION_CULL_H

View File

@ -28,12 +28,9 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef RAYCAST_REGISTER_TYPES_H
#define RAYCAST_REGISTER_TYPES_H
#pragma once
#include "modules/register_module_types.h"
void initialize_raycast_module(ModuleInitializationLevel p_level);
void uninitialize_raycast_module(ModuleInitializationLevel p_level);
#endif // RAYCAST_REGISTER_TYPES_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef STATIC_RAYCASTER_EMBREE_H
#define STATIC_RAYCASTER_EMBREE_H
#pragma once
#ifdef TOOLS_ENABLED
@ -65,5 +64,3 @@ public:
};
#endif // TOOLS_ENABLED
#endif // STATIC_RAYCASTER_EMBREE_H