rename get_instance function
This commit is contained in:
@@ -19,7 +19,7 @@ namespace hack::utils
|
||||
template<typename T>
|
||||
struct singleton : public no_move, no_copy
|
||||
{
|
||||
static T& get_instance()
|
||||
static T& instance()
|
||||
{
|
||||
static T t;
|
||||
return t;
|
||||
|
||||
Reference in New Issue
Block a user