diff options
Diffstat (limited to 'src/ContractionState.h')
-rw-r--r-- | src/ContractionState.h | 3 |
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(); |