aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/EditView.h')
-rw-r--r--src/EditView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/EditView.h b/src/EditView.h
index d884019d4..7a3926aa2 100644
--- a/src/EditView.h
+++ b/src/EditView.h
@@ -90,6 +90,9 @@ public:
DrawWrapMarkerFn customDrawWrapMarker;
EditView();
+ // Deleted so EditView objects can not be copied.
+ EditView(const EditView &) = delete;
+ void operator=(const EditView &) = delete;
virtual ~EditView();
bool SetTwoPhaseDraw(bool twoPhaseDraw);