remove unused Singleton::delete_instance
This commit is contained in:
parent
a6d14cecbe
commit
2dd4761f89
|
@ -28,12 +28,6 @@ public:
|
||||||
return *ms_instance;
|
return *ms_instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void delete_instance()
|
|
||||||
{
|
|
||||||
delete ms_instance;
|
|
||||||
ms_instance = nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
static bool has_instance()
|
static bool has_instance()
|
||||||
{
|
{
|
||||||
return ms_instance != nullptr;
|
return ms_instance != nullptr;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user