mirror of https://github.com/Icinga/icinga2.git
Introduce factory method Timer::Create()
This commit is contained in:
parent
f3b148517f
commit
bb1f574b69
|
@ -21,6 +21,12 @@ class Timer final : public Object
|
|||
public:
|
||||
DECLARE_PTR_TYPEDEFS(Timer);
|
||||
|
||||
static inline
|
||||
Ptr Create()
|
||||
{
|
||||
return new Timer();
|
||||
}
|
||||
|
||||
~Timer() override;
|
||||
|
||||
static void Initialize();
|
||||
|
|
Loading…
Reference in New Issue