mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #4955
25e5a85
singleton: fix missing *this return value in operator= (monermooo-monero)
This commit is contained in:
commit
1aaa82cb1a
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,8 @@ namespace Language
|
||||||
class Singleton
|
class Singleton
|
||||||
{
|
{
|
||||||
Singleton() {}
|
Singleton() {}
|
||||||
Singleton(Singleton &s) {}
|
Singleton(Singleton &s) = delete;
|
||||||
Singleton& operator=(const Singleton&) {}
|
Singleton& operator=(const Singleton&) = delete;
|
||||||
public:
|
public:
|
||||||
static T* instance()
|
static T* instance()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue