aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/CellBuffer.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx
index 9a509f2eb..a2cee4fcf 100644
--- a/src/CellBuffer.cxx
+++ b/src/CellBuffer.cxx
@@ -98,13 +98,6 @@ public:
LineStartIndex() : refCount(0), starts(4) {
// Minimal initial allocation
}
- // Deleted so LineStartIndex objects can not be copied.
- LineStartIndex(const LineStartIndex &) = delete;
- LineStartIndex(LineStartIndex &&) = delete;
- void operator=(const LineStartIndex &) = delete;
- void operator=(LineStartIndex &&) = delete;
- virtual ~LineStartIndex() {
- }
bool Allocate(Sci::Line lines) {
refCount++;
Sci::Position length = starts.PositionFromPartition(starts.Partitions());
@@ -166,13 +159,6 @@ class LineVector : public ILineVector {
public:
LineVector() : starts(256), perLine(nullptr), activeIndices(LineCharacterIndexType::None) {
}
- // Deleted so LineVector objects can not be copied.
- LineVector(const LineVector &) = delete;
- LineVector(LineVector &&) = delete;
- LineVector &operator=(const LineVector &) = delete;
- LineVector &operator=(LineVector &&) = delete;
- ~LineVector() override {
- }
void Init() override {
starts.DeleteAll();
if (perLine) {