diff options
Diffstat (limited to 'src/ContractionState.cxx')
-rw-r--r-- | src/ContractionState.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index b64e044ab..b36e1ebd8 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -59,12 +59,6 @@ class ContractionState final : public IContractionState { public: ContractionState() noexcept; - // Deleted so ContractionState objects can not be copied. - ContractionState(const ContractionState &) = delete; - void operator=(const ContractionState &) = delete; - ContractionState(ContractionState &&) = delete; - void operator=(ContractionState &&) = delete; - ~ContractionState() override; void Clear() noexcept override; @@ -102,9 +96,6 @@ ContractionState<LINE>::ContractionState() noexcept : linesInDocument(1) { } template <typename LINE> -ContractionState<LINE>::~ContractionState() = default; - -template <typename LINE> void ContractionState<LINE>::EnsureData() { if (OneToOne()) { visible = std::make_unique<RunStyles<LINE, char>>(); |