From b9bf45fea55a56203f16a1eea4de7f46d8bbf964 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 21 Apr 2018 11:22:39 +1000 Subject: Use noexcept in basic data structures where reasonable. Declare the standard member functions in more classes --- src/CellBuffer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/CellBuffer.h') diff --git a/src/CellBuffer.h b/src/CellBuffer.h index 20e81def6..0e2c4f219 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -130,7 +130,9 @@ public: CellBuffer(bool hasStyles_, bool largeDocument_); // Deleted so CellBuffer objects can not be copied. CellBuffer(const CellBuffer &) = delete; + CellBuffer(CellBuffer &&) = delete; void operator=(const CellBuffer &) = delete; + void operator=(CellBuffer &&) = delete; ~CellBuffer(); /// Retrieving positions outside the range of the buffer works and returns 0 -- cgit v1.2.3