aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h
index b8a88c0df..b6c9c5bd1 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -260,6 +260,9 @@ public:
DecorationList decorations;
Document();
+ // Deleted so Document objects can not be copied.
+ Document(const Document &) = delete;
+ void operator=(const Document &) = delete;
virtual ~Document();
int AddRef();