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 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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user