aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2018-12-31 16:28:49 -0600
committerluigi1111 <luigi1111w@gmail.com>2018-12-31 16:28:49 -0600
commit1aaa82cb1a19b6688819e6fd90641cf7b02fff97 (patch)
tree99bc96139721159fc5c9fb75a57087812c5b5827 /src
parentMerge pull request #4953 (diff)
parentsingleton: fix missing *this return value in operator= (diff)
downloadmonero-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.h4
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()
{