Add Deprecation Reasons

Add reasons to some of the deprecations. There are several others without reasons, but I couldn't find a clear answer from the code, so I've left those blank.
This commit is contained in:
Andrew Auclair
2025-08-11 11:04:37 -04:00
committed by Matej Kenda
parent 85d96430a6
commit 8249c68885
4 changed files with 4 additions and 4 deletions

View File

@@ -75,7 +75,7 @@ public:
virtual DirectoryIterator& operator ++ (); // prefix
POCO_DEPRECATED("")
POCO_DEPRECATED("Please use the prefix increment operator instead")
DirectoryIterator operator ++ (int); // postfix
/// Please use the prefix increment operator instead.

View File

@@ -2288,7 +2288,7 @@ inline bool operator >= (const unsigned long& other, const Var& da)
} // namespace Dynamic
using DynamicAny POCO_DEPRECATED("") = Dynamic::Var;
using DynamicAny POCO_DEPRECATED("Replace with Poco::Dynamic::Var") = Dynamic::Var;
} // namespace Poco

View File

@@ -55,7 +55,7 @@ public:
/// the event is automatically reset after
/// a wait() successfully returns.
POCO_DEPRECATED("")
POCO_DEPRECATED("Please use Event::Event(EventType) instead")
explicit Event(bool autoReset);
/// Please use Event::Event(EventType) instead.

View File

@@ -25,7 +25,7 @@ namespace Poco {
template <class TArgs, class TDelegate>
class POCO_DEPRECATED("") FIFOStrategy: public DefaultStrategy<TArgs, TDelegate>
class POCO_DEPRECATED("As of release 1.4.2, DefaultStrategy already implements FIFO behavior, so this class is provided for backwards compatibility only") FIFOStrategy: public DefaultStrategy<TArgs, TDelegate>
/// Note: As of release 1.4.2, DefaultStrategy already
/// implements FIFO behavior, so this class is provided
/// for backwards compatibility only.