summaryrefslogtreecommitdiffstats
path: root/scintilla/src/PositionCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/src/PositionCache.h')
-rw-r--r--scintilla/src/PositionCache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scintilla/src/PositionCache.h b/scintilla/src/PositionCache.h
index 232a097..1b909fd 100644
--- a/scintilla/src/PositionCache.h
+++ b/scintilla/src/PositionCache.h
@@ -130,6 +130,8 @@ class BreakFinder {
int subBreak;
Document *pdoc;
void Insert(int val);
+ // Private so BreakFinder objects can not be copied
+ BreakFinder(const BreakFinder &);
public:
// If a whole run is longer than lengthStartSubdivision then subdivide
// into smaller runs at spaces or punctuation.
@@ -148,6 +150,8 @@ class PositionCache {
size_t size;
unsigned int clock;
bool allClear;
+ // Private so PositionCache objects can not be copied
+ PositionCache(const PositionCache &);
public:
PositionCache();
~PositionCache();