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:
@ -84,4 +84,4 @@ public:
|
||||
|
||||
VARIANT_ENUM_CAST(OpenXRAction::ActionType);
|
||||
|
||||
#endif // !OPENXR_ACTION_H
|
||||
#endif // OPENXR_ACTION_H
|
||||
|
||||
@ -28,8 +28,8 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef OPENXR_ACTION_SETS_H
|
||||
#define OPENXR_ACTION_SETS_H
|
||||
#ifndef OPENXR_ACTION_MAP_H
|
||||
#define OPENXR_ACTION_MAP_H
|
||||
|
||||
#include "core/io/resource.h"
|
||||
|
||||
@ -79,4 +79,4 @@ public:
|
||||
~OpenXRActionMap();
|
||||
};
|
||||
|
||||
#endif // !OPENXR_ACTION_SETS_H
|
||||
#endif // OPENXR_ACTION_MAP_H
|
||||
|
||||
@ -72,4 +72,4 @@ public:
|
||||
~OpenXRActionSet();
|
||||
};
|
||||
|
||||
#endif // !OPENXR_ACTION_SET_H
|
||||
#endif // OPENXR_ACTION_SET_H
|
||||
|
||||
@ -121,4 +121,4 @@ public:
|
||||
static PackedStringArray get_interaction_profile_paths();
|
||||
};
|
||||
|
||||
#endif // !OPENXR_DEFS_H
|
||||
#endif // OPENXR_DEFS_H
|
||||
|
||||
@ -98,4 +98,4 @@ public:
|
||||
~OpenXRInteractionProfile();
|
||||
};
|
||||
|
||||
#endif // !OPENXR_INTERACTION_PROFILE_H
|
||||
#endif // OPENXR_INTERACTION_PROFILE_H
|
||||
|
||||
Reference in New Issue
Block a user