mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +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:
@@ -35,10 +35,10 @@ class DefaultStrategy: public NotificationStrategy<TArgs, TDelegate>
|
||||
/// order in which they have been registered.
|
||||
{
|
||||
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:
|
||||
DefaultStrategy()
|
||||
@@ -132,10 +132,10 @@ class DefaultStrategy<void,TDelegate>: public NotificationStrategy<void, TDelega
|
||||
/// order in which they have been registered.
|
||||
{
|
||||
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:
|
||||
DefaultStrategy()
|
||||
|
||||
Reference in New Issue
Block a user