Style: Replace header guards with #pragma once

This commit is contained in:
Thaddeus Crews
2025-02-01 10:33:58 -06:00
parent 96fdaa616b
commit 324512e11c
1746 changed files with 1767 additions and 6920 deletions

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_CLASS_DB_H
#define TEST_CLASS_DB_H
#pragma once
#include "core/core_bind.h"
#include "core/core_constants.h"
@@ -900,5 +899,3 @@ TEST_SUITE("[ClassDB]") {
}
}
} // namespace TestClassDB
#endif // TEST_CLASS_DB_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_METHOD_BIND_H
#define TEST_METHOD_BIND_H
#pragma once
#include "core/object/class_db.h"
@@ -171,5 +170,3 @@ TEST_CASE("[MethodBind] check all method binds") {
memdelete(mbt);
}
} // namespace TestMethodBind
#endif // TEST_METHOD_BIND_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_OBJECT_H
#define TEST_OBJECT_H
#pragma once
#include "core/object/class_db.h"
#include "core/object/object.h"
@@ -603,5 +602,3 @@ TEST_CASE("[Object] Destruction at the end of the call chain is safe") {
}
} // namespace TestObject
#endif // TEST_OBJECT_H

View File

@@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef TEST_UNDO_REDO_H
#define TEST_UNDO_REDO_H
#pragma once
#include "core/object/undo_redo.h"
#include "tests/test_macros.h"
@@ -198,5 +197,3 @@ TEST_CASE("[UndoRedo] Merge Method UndoRedo") {
}
} //namespace TestUndoRedo
#endif // TEST_UNDO_REDO_H