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,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEB_EDITOR_HTTP_SERVER_H
|
||||
#define WEB_EDITOR_HTTP_SERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "core/io/image_loader.h"
|
||||
#include "core/io/stream_peer_tls.h"
|
||||
@@ -70,5 +69,3 @@ public:
|
||||
Error listen(int p_port, IPAddress p_address, bool p_use_tls, String p_tls_key, String p_tls_cert);
|
||||
bool is_listening() const;
|
||||
};
|
||||
|
||||
#endif // WEB_EDITOR_HTTP_SERVER_H
|
||||
|
||||
@@ -28,10 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEB_EXPORT_H
|
||||
#define WEB_EXPORT_H
|
||||
#pragma once
|
||||
|
||||
void register_web_exporter_types();
|
||||
void register_web_exporter();
|
||||
|
||||
#endif // WEB_EXPORT_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef WEB_EXPORT_PLUGIN_H
|
||||
#define WEB_EXPORT_PLUGIN_H
|
||||
#pragma once
|
||||
|
||||
#include "editor_http_server.h"
|
||||
|
||||
@@ -152,5 +151,3 @@ public:
|
||||
EditorExportPlatformWeb();
|
||||
~EditorExportPlatformWeb();
|
||||
};
|
||||
|
||||
#endif // WEB_EXPORT_PLUGIN_H
|
||||
|
||||
Reference in New Issue
Block a user