diff options
author | luigi1111 <luigi1111w@gmail.com> | 2018-12-31 16:28:49 -0600 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2018-12-31 16:28:49 -0600 |
commit | 1aaa82cb1a19b6688819e6fd90641cf7b02fff97 (patch) | |
tree | 99bc96139721159fc5c9fb75a57087812c5b5827 /src | |
parent | Merge pull request #4953 (diff) | |
parent | singleton: fix missing *this return value in operator= (diff) | |
download | monero-1aaa82cb1a19b6688819e6fd90641cf7b02fff97.tar.xz |
Merge pull request #4955
25e5a85 singleton: fix missing *this return value in operator= (monermooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/mnemonics/singleton.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mnemonics/singleton.h b/src/mnemonics/singleton.h index a15c2b9ae..d317a2d8d 100644 --- a/src/mnemonics/singleton.h +++ b/src/mnemonics/singleton.h @@ -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()
{
|