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 TEXT_SERVER_DUMMY_H
|
||||
#define TEXT_SERVER_DUMMY_H
|
||||
#pragma once
|
||||
|
||||
#include "servers/text/text_server_extension.h"
|
||||
|
||||
@@ -124,5 +123,3 @@ public:
|
||||
virtual double shaped_text_get_underline_position(const RID &p_shaped) const override { return 0; }
|
||||
virtual double shaped_text_get_underline_thickness(const RID &p_shaped) const override { return 0; }
|
||||
};
|
||||
|
||||
#endif // TEXT_SERVER_DUMMY_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef TEXT_SERVER_EXTENSION_H
|
||||
#define TEXT_SERVER_EXTENSION_H
|
||||
#pragma once
|
||||
|
||||
#include "core/object/gdvirtual.gen.inc"
|
||||
#include "core/os/thread_safe.h"
|
||||
@@ -598,5 +597,3 @@ public:
|
||||
TextServerExtension();
|
||||
~TextServerExtension();
|
||||
};
|
||||
|
||||
#endif // TEXT_SERVER_EXTENSION_H
|
||||
|
||||
Reference in New Issue
Block a user