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 FOG_DUMMY_H
|
||||
#define FOG_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/environment/renderer_fog.h"
|
||||
|
||||
@ -51,5 +50,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // FOG_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef GI_DUMMY_H
|
||||
#define GI_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/environment/renderer_gi.h"
|
||||
|
||||
@ -83,5 +82,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // GI_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef RASTERIZER_CANVAS_DUMMY_H
|
||||
#define RASTERIZER_CANVAS_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/renderer_canvas_render.h"
|
||||
|
||||
@ -61,5 +60,3 @@ public:
|
||||
RasterizerCanvasDummy() {}
|
||||
~RasterizerCanvasDummy() {}
|
||||
};
|
||||
|
||||
#endif // RASTERIZER_CANVAS_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef RASTERIZER_DUMMY_H
|
||||
#define RASTERIZER_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "core/templates/rid_owner.h"
|
||||
#include "core/templates/self_list.h"
|
||||
@ -115,5 +114,3 @@ public:
|
||||
RasterizerDummy() {}
|
||||
~RasterizerDummy() {}
|
||||
};
|
||||
|
||||
#endif // RASTERIZER_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef RASTERIZER_SCENE_DUMMY_H
|
||||
#define RASTERIZER_SCENE_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "core/templates/paged_allocator.h"
|
||||
#include "servers/rendering/renderer_scene_render.h"
|
||||
@ -197,5 +196,3 @@ public:
|
||||
RasterizerSceneDummy() {}
|
||||
~RasterizerSceneDummy() {}
|
||||
};
|
||||
|
||||
#endif // RASTERIZER_SCENE_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef LIGHT_STORAGE_DUMMY_H
|
||||
#define LIGHT_STORAGE_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/storage/light_storage.h"
|
||||
|
||||
@ -219,5 +218,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // LIGHT_STORAGE_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef MATERIAL_STORAGE_DUMMY_H
|
||||
#define MATERIAL_STORAGE_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/shader_compiler.h"
|
||||
#include "servers/rendering/shader_language.h"
|
||||
@ -128,5 +127,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // MATERIAL_STORAGE_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef MESH_STORAGE_DUMMY_H
|
||||
#define MESH_STORAGE_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "core/templates/rid_owner.h"
|
||||
#include "servers/rendering/storage/mesh_storage.h"
|
||||
@ -203,5 +202,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // MESH_STORAGE_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef PARTICLES_STORAGE_DUMMY_H
|
||||
#define PARTICLES_STORAGE_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/storage/particles_storage.h"
|
||||
|
||||
@ -126,5 +125,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // PARTICLES_STORAGE_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef TEXTURE_STORAGE_DUMMY_H
|
||||
#define TEXTURE_STORAGE_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/storage/texture_storage.h"
|
||||
|
||||
@ -215,5 +214,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // TEXTURE_STORAGE_DUMMY_H
|
||||
|
||||
@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef UTILITIES_DUMMY_H
|
||||
#define UTILITIES_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/rendering/storage/utilities.h"
|
||||
|
||||
@ -99,5 +98,3 @@ public:
|
||||
};
|
||||
|
||||
} // namespace RendererDummy
|
||||
|
||||
#endif // UTILITIES_DUMMY_H
|
||||
|
||||
Reference in New Issue
Block a user