Skip to content

Commit

Permalink
Merge pull request #4955
Browse files Browse the repository at this point in the history
25e5a85 singleton: fix missing *this return value in operator= (monermooo-monero)
  • Loading branch information
luigi1111 committed Dec 31, 2018
2 parents 61c0083 + 25e5a85 commit 1aaa82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mnemonics/singleton.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 1aaa82c

Please sign in to comment.