aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/PerLine.h')
-rw-r--r--src/PerLine.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/PerLine.h b/src/PerLine.h
index faf4c1cd8..300a50a86 100644
--- a/src/PerLine.h
+++ b/src/PerLine.h
@@ -30,6 +30,9 @@ class MarkerHandleSet {
public:
MarkerHandleSet();
+ // Deleted so MarkerHandleSet objects can not be copied.
+ MarkerHandleSet(const MarkerHandleSet &) = delete;
+ void operator=(const MarkerHandleSet &) = delete;
~MarkerHandleSet();
int Length() const;
int MarkValue() const; ///< Bit set of marker numbers.
@@ -47,6 +50,9 @@ class LineMarkers : public PerLine {
public:
LineMarkers() : handleCurrent(0) {
}
+ // Deleted so Worker objects can not be copied.
+ LineMarkers(const LineMarkers &) = delete;
+ void operator=(const LineMarkers &) = delete;
virtual ~LineMarkers();
void Init() override;
void InsertLine(Sci::Line line) override;
@@ -64,6 +70,11 @@ public:
class LineLevels : public PerLine {
SplitVector<int> levels;
public:
+ LineLevels() {
+ }
+ // Deleted so Worker objects can not be copied.
+ LineLevels(const LineLevels &) = delete;
+ void operator=(const LineLevels &) = delete;
virtual ~LineLevels();
void Init() override;
void InsertLine(Sci::Line line) override;
@@ -80,6 +91,9 @@ class LineState : public PerLine {
public:
LineState() {
}
+ // Deleted so Worker objects can not be copied.
+ LineState(const LineState &) = delete;
+ void operator=(const LineState &) = delete;
virtual ~LineState();
void Init() override;
void InsertLine(Sci::Line line) override;
@@ -95,6 +109,9 @@ class LineAnnotation : public PerLine {
public:
LineAnnotation() {
}
+ // Deleted so Worker objects can not be copied.
+ LineAnnotation(const LineAnnotation &) = delete;
+ void operator=(const LineAnnotation &) = delete;
virtual ~LineAnnotation();
void Init() override;
void InsertLine(Sci::Line line) override;
@@ -119,6 +136,9 @@ class LineTabstops : public PerLine {
public:
LineTabstops() {
}
+ // Deleted so Worker objects can not be copied.
+ LineTabstops(const LineTabstops &) = delete;
+ void operator=(const LineTabstops &) = delete;
virtual ~LineTabstops();
void Init() override;
void InsertLine(Sci::Line line) override;