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 AUDIO_STREAM_PLAYER_H
#define AUDIO_STREAM_PLAYER_H
#pragma once
#include "scene/main/node.h"
#include "servers/audio_server.h"
@ -118,5 +117,3 @@ public:
};
VARIANT_ENUM_CAST(AudioStreamPlayer::MixTarget)
#endif // AUDIO_STREAM_PLAYER_H

View File

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef AUDIO_STREAM_PLAYER_INTERNAL_H
#define AUDIO_STREAM_PLAYER_INTERNAL_H
#pragma once
#include "core/object/ref_counted.h"
#include "core/templates/safe_refcount.h"
@ -113,5 +112,3 @@ public:
AudioStreamPlayerInternal(Node *p_node, const Callable &p_play_callable, const Callable &p_stop_callable, bool p_physical);
};
#endif // AUDIO_STREAM_PLAYER_INTERNAL_H