You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00: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 JSONRPC_H
|
||||
#define JSONRPC_H
|
||||
#pragma once
|
||||
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/variant/variant.h"
|
||||
@@ -66,5 +65,3 @@ public:
|
||||
};
|
||||
|
||||
VARIANT_ENUM_CAST(JSONRPC::ErrorCode);
|
||||
|
||||
#endif // JSONRPC_H
|
||||
|
||||
@@ -28,12 +28,9 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef JSONRPC_REGISTER_TYPES_H
|
||||
#define JSONRPC_REGISTER_TYPES_H
|
||||
#pragma once
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_jsonrpc_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_jsonrpc_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // JSONRPC_REGISTER_TYPES_H
|
||||
|
||||
@@ -28,8 +28,7 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef TEST_JSONRPC_H
|
||||
#define TEST_JSONRPC_H
|
||||
#pragma once
|
||||
|
||||
#include "tests/test_macros.h"
|
||||
#include "tests/test_utils.h"
|
||||
@@ -135,5 +134,3 @@ TEST_CASE("[JSONRPC] process_action bad method") {
|
||||
}
|
||||
|
||||
} // namespace TestJSONRPC
|
||||
|
||||
#endif // TEST_JSONRPC_H
|
||||
|
||||
Reference in New Issue
Block a user