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.
This commit is contained in:
Rémi Verschelde
2022-07-23 23:41:51 +02:00
parent 3084a48ace
commit 90019676b0
491 changed files with 1009 additions and 863 deletions
+1 -1
View File
@@ -127,4 +127,4 @@ public:
PacketPeerStream();
};
#endif // PACKET_STREAM_H
#endif // PACKET_PEER_H
+3 -3
View File
@@ -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