mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
merge some changes from develop branch; modernize and clean-up code; remove support for compiling without POCO_WIN32_UTF8
This commit is contained in:
@@ -34,10 +34,10 @@ class PriorityStrategy: public NotificationStrategy<TArgs, TDelegate>
|
||||
/// by their priority.
|
||||
{
|
||||
public:
|
||||
typedef TDelegate* DelegateHandle;
|
||||
typedef SharedPtr<TDelegate> DelegatePtr;
|
||||
typedef std::vector<DelegatePtr> Delegates;
|
||||
typedef typename Delegates::iterator Iterator;
|
||||
using DelegateHandle = TDelegate*;
|
||||
using DelegatePtr = SharedPtr<TDelegate>;
|
||||
using Delegates = std::vector<DelegatePtr>;
|
||||
using Iterator = typename Delegates::iterator;
|
||||
|
||||
public:
|
||||
PriorityStrategy()
|
||||
@@ -139,10 +139,10 @@ class PriorityStrategy<void, TDelegate>
|
||||
/// by their priority.
|
||||
{
|
||||
public:
|
||||
typedef TDelegate* DelegateHandle;
|
||||
typedef SharedPtr<TDelegate> DelegatePtr;
|
||||
typedef std::vector<DelegatePtr> Delegates;
|
||||
typedef typename Delegates::iterator Iterator;
|
||||
using DelegateHandle = TDelegate*;
|
||||
using DelegatePtr = SharedPtr<TDelegate>;
|
||||
using Delegates = std::vector<DelegatePtr>;
|
||||
using Iterator = typename Delegates::iterator;
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user