mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Style: Replace header guards with #pragma once
This commit is contained in:
@@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef ZIP_REGISTER_TYPES_H
|
||||
#define ZIP_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_zip_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_zip_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // ZIP_REGISTER_TYPES_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef ZIP_PACKER_H
|
||||
#define ZIP_PACKER_H
|
||||
#pragma once
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/ref_counted.h"
|
||||
@@ -64,5 +63,3 @@ public:
|
||||
};
|
||||
|
||||
VARIANT_ENUM_CAST(ZIPPacker::ZipAppend)
|
||||
|
||||
#endif // ZIP_PACKER_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef ZIP_READER_H
|
||||
#define ZIP_READER_H
|
||||
#pragma once
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/ref_counted.h"
|
||||
@@ -56,5 +55,3 @@ public:
|
||||
ZIPReader();
|
||||
~ZIPReader();
|
||||
};
|
||||
|
||||
#endif // ZIP_READER_H
|
||||
|
||||
Reference in New Issue
Block a user