diff options
author | Neil <nyamatongwe@gmail.com> | 2018-04-21 11:22:39 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2018-04-21 11:22:39 +1000 |
commit | b9bf45fea55a56203f16a1eea4de7f46d8bbf964 (patch) | |
tree | 09cbc057fdb43e61ba703617e19c8b3b341670fb /src/CellBuffer.h | |
parent | 8634c0958c532e7d219e649353e1f1a74d52da1b (diff) | |
download | scintilla-mirror-b9bf45fea55a56203f16a1eea4de7f46d8bbf964.tar.gz |
Use noexcept in basic data structures where reasonable.
Declare the standard member functions in more classes
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |