From faf7a28cf263168193001fa5795cf76d68a171d6 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 24 Jul 2024 16:48:46 +0200 Subject: [PATCH] Fix compilation after merge #2714 --- Source/Engine/Audio/AudioSource.h | 2 +- Source/Engine/Content/Asset.h | 3 +-- Source/Engine/Utilities/RectPack.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Engine/Audio/AudioSource.h b/Source/Engine/Audio/AudioSource.h index d55761cb7..f292c9f25 100644 --- a/Source/Engine/Audio/AudioSource.h +++ b/Source/Engine/Audio/AudioSource.h @@ -273,7 +273,7 @@ public: /// Determines whether this audio source started playing audio via audio backend. After audio play it may wait for audio clip data to be loaded or streamed. /// [Deprecated in v1.9] /// - API_PROPERTY() DEPRECATED FORCE_INLINE bool IsActuallyPlayingSth() const + API_PROPERTY() DEPRECATED("Use IsActuallyPlaying instead.") FORCE_INLINE bool IsActuallyPlayingSth() const { return _isActuallyPlayingSth; } diff --git a/Source/Engine/Content/Asset.h b/Source/Engine/Content/Asset.h index 125abdda2..de79a640b 100644 --- a/Source/Engine/Content/Asset.h +++ b/Source/Engine/Content/Asset.h @@ -184,8 +184,7 @@ public: /// The output collection of the asset ids referenced by this asset. /// The output list of file paths referenced by this asset. Files might come from project Content folder (relative path is preserved in cooked game), or external location (copied into Content root folder of cooked game). virtual void GetReferences(Array& assets, Array& files) const; - - + /// /// Gets the asset references. Supported only in Editor. /// [Deprecated in v1.9] diff --git a/Source/Engine/Utilities/RectPack.h b/Source/Engine/Utilities/RectPack.h index a187e4c3b..8217effe4 100644 --- a/Source/Engine/Utilities/RectPack.h +++ b/Source/Engine/Utilities/RectPack.h @@ -221,7 +221,7 @@ public: /// /// Implementation based on https://blackpawn.com/texts/lightmaps/default.html. template -struct DEPRECATED RectPack +struct DEPRECATED("Use RectPackNode and RectPackAtlas instead.") RectPack { // Left and Right slots allow to easily move around the atlas like in a tree structure. NodeType* Left;