aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ContractionState.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-04-21 09:30:16 +1000
committerNeil <nyamatongwe@gmail.com>2017-04-21 09:30:16 +1000
commit261277783fa16e0c974b1981a5eb0a208fca955e (patch)
treef9a75c9fd718ef57994b775e6d653983e5634085 /src/ContractionState.h
parentcd65e0b6478f38b809dd08805e7795a9d8b669eb (diff)
downloadscintilla-mirror-261277783fa16e0c974b1981a5eb0a208fca955e.tar.gz
More consistent deletion of standard methods.
Diffstat (limited to 'src/ContractionState.h')
-rw-r--r--src/ContractionState.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ContractionState.h b/src/ContractionState.h
index 91146f409..5df68a0de 100644
--- a/src/ContractionState.h
+++ b/src/ContractionState.h
@@ -36,6 +36,9 @@ class ContractionState {
public:
ContractionState();
+ // Deleted so ContractionState objects can not be copied.
+ ContractionState(const ContractionState &) = delete;
+ void operator=(const ContractionState &) = delete;
virtual ~ContractionState();
void Clear();