mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user