Style: Replace header guards with #pragma once
This commit is contained in:
parent
96fdaa616b
commit
324512e11c
1746 changed files with 1767 additions and 6920 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef NODE_H
|
||||
#define NODE_H
|
||||
#pragma once
|
||||
|
||||
#include "core/string/node_path.h"
|
||||
#include "core/variant/typed_array.h"
|
||||
|
|
@ -862,5 +861,3 @@ Error Node::rpc_id(int p_peer_id, const StringName &p_method, VarArgs... p_args)
|
|||
// Add these macro to your class's 'get_configuration_warnings' function to have warnings show up in the scene tree inspector.
|
||||
#define DEPRECATED_NODE_WARNING warnings.push_back(RTR("This node is marked as deprecated and will be removed in future versions.\nPlease check the Godot documentation for information about migration."));
|
||||
#define EXPERIMENTAL_NODE_WARNING warnings.push_back(RTR("This node is marked as experimental and may be subject to removal or major changes in future versions."));
|
||||
|
||||
#endif // NODE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue