Introduce factory method Timer::Create()

This commit is contained in:
Alexander A. Klimov 2023-03-21 10:26:33 +01:00
parent f3b148517f
commit bb1f574b69
1 changed files with 6 additions and 0 deletions

View File

@ -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();