diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-23 23:41:51 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-07-25 11:17:40 +0200 |
commit | 90019676b076abdfc076ed6f38005d6cce89923b (patch) | |
tree | 63fcbfc3018ae9953b1ef8049c51a07cd1a8728e /core/io | |
parent | 3084a48ace3e7dabd83e4c62280328f429defad6 (diff) |
Code quality: Fix header guards consistency
Adds `header_guards.sh` bash script, used in CI to validate future
changes. Can be run locally to fix invalid header guards.
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/packet_peer.h | 2 | ||||
-rw-r--r-- | core/io/resource_uid.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/io/packet_peer.h b/core/io/packet_peer.h index 0b12640627..ec9d33aa5a 100644 --- a/core/io/packet_peer.h +++ b/core/io/packet_peer.h @@ -127,4 +127,4 @@ public: PacketPeerStream(); }; -#endif // PACKET_STREAM_H +#endif // PACKET_PEER_H diff --git a/core/io/resource_uid.h b/core/io/resource_uid.h index da42553cf5..0da37e2716 100644 --- a/core/io/resource_uid.h +++ b/core/io/resource_uid.h @@ -28,8 +28,8 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef RESOURCE_UUID_H -#define RESOURCE_UUID_H +#ifndef RESOURCE_UID_H +#define RESOURCE_UID_H #include "core/object/ref_counted.h" #include "core/string/string_name.h" @@ -85,4 +85,4 @@ public: ~ResourceUID(); }; -#endif // RESOURCEUUID_H +#endif // RESOURCE_UID_H |