diff options
author | nyamatongwe <unknown> | 2013-01-19 14:38:06 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-01-19 14:38:06 +1100 |
commit | 4813d2aa6961aae087cf8c115fd6c88510d40a05 (patch) | |
tree | 560ad5f159c79d16b2e7f9cd2d191c8e442ae376 /src/CellBuffer.h | |
parent | 24ac7c2923e2de7bc3d60679e7b6755f7a7077f3 (diff) | |
download | scintilla-mirror-4813d2aa6961aae087cf8c115fd6c88510d40a05.tar.gz |
Add private copy constructors to prevent copying and avoid warnings.
Diffstat (limited to 'src/CellBuffer.h')
-rw-r--r-- | src/CellBuffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CellBuffer.h b/src/CellBuffer.h index bfbb121de..cde6f5a1a 100644 --- a/src/CellBuffer.h +++ b/src/CellBuffer.h @@ -98,6 +98,9 @@ class UndoHistory { void EnsureUndoRoom(); + // Private so UndoHistory objects can not be copied + UndoHistory(const UndoHistory &); + public: UndoHistory(); ~UndoHistory(); |