diff options
-rw-r--r-- | includes/Handle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/Handle.h b/includes/Handle.h index fede9c7..5634583 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -72,6 +72,9 @@ class Handle { friend class IO; volatile int m_refCount; + + Handle(const Handle &) = delete; + Handle & operator=(const Handle &) = delete; }; class HPrinter : public Handle { |