mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-03-22 04:50:15 -06:00
Merge pull request #4955
25e5a85 singleton: fix missing *this return value in operator= (monermooo-monero)
This commit is contained in:
commit
1aaa82cb1a
@ -50,8 +50,8 @@ namespace Language
|
||||
class Singleton
|
||||
{
|
||||
Singleton() {}
|
||||
Singleton(Singleton &s) {}
|
||||
Singleton& operator=(const Singleton&) {}
|
||||
Singleton(Singleton &s) = delete;
|
||||
Singleton& operator=(const Singleton&) = delete;
|
||||
public:
|
||||
static T* instance()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user