mirror of
https://github.com/pocoproject/poco.git
synced 2025-12-07 00:44:17 +01:00
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:
committed by
Matej Kenda
parent
85d96430a6
commit
8249c68885
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user