From 7f3ec9c01d5617b79251409f861191971492a3cb Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Wed, 11 Oct 2023 18:23:53 +0200 Subject: [PATCH] Main: remove some deprecation warnings that are particularly noisy on recent GCC (not an issue on clang) --- OgreMain/include/OgreAnimationState.h | 2 +- OgreMain/include/OgreParticleAffectorFactory.h | 2 +- OgreMain/include/OgreParticleEmitterFactory.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/OgreMain/include/OgreAnimationState.h b/OgreMain/include/OgreAnimationState.h index ad013493ae1..898879d21b5 100644 --- a/OgreMain/include/OgreAnimationState.h +++ b/OgreMain/include/OgreAnimationState.h @@ -230,7 +230,7 @@ namespace Ogre { /** Get an iterator over all the animation states in this set. @deprecated use getAnimationStates() */ - OGRE_DEPRECATED AnimationStateIterator getAnimationStateIterator(void); + AnimationStateIterator getAnimationStateIterator(void); /** Get an iterator over all the animation states in this set. @deprecated use getAnimationStates() */ diff --git a/OgreMain/include/OgreParticleAffectorFactory.h b/OgreMain/include/OgreParticleAffectorFactory.h index 1f9a184061a..ea4d866484d 100644 --- a/OgreMain/include/OgreParticleAffectorFactory.h +++ b/OgreMain/include/OgreParticleAffectorFactory.h @@ -55,7 +55,7 @@ namespace Ogre { class _OgreExport ParticleAffectorFactory : public FXAlloc { protected: - OGRE_DEPRECATED std::vector mAffectors; + std::vector mAffectors; //!< @deprecated do not use public: ParticleAffectorFactory() {} virtual ~ParticleAffectorFactory(); diff --git a/OgreMain/include/OgreParticleEmitterFactory.h b/OgreMain/include/OgreParticleEmitterFactory.h index 25874902ad4..12b677f3b44 100644 --- a/OgreMain/include/OgreParticleEmitterFactory.h +++ b/OgreMain/include/OgreParticleEmitterFactory.h @@ -56,7 +56,7 @@ namespace Ogre { class _OgreExport ParticleEmitterFactory : public FXAlloc { protected: - OGRE_DEPRECATED std::vector mEmitters; + std::vector mEmitters; //!< @deprecated do not use public: ParticleEmitterFactory() {} virtual ~ParticleEmitterFactory();