Merge pull request #4955

25e5a85 singleton: fix missing *this return value in operator= (monermooo-monero)
release-v0.6.1.2
luigi1111 6 years ago
commit 1aaa82cb1a
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -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…
Cancel
Save