aboutsummaryrefslogtreecommitdiff
path: root/src/mnemonics/singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mnemonics/singleton.h')
-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()
{