diff options
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index fcbb1cdf7..c294edebd 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -77,7 +77,9 @@ public: explicit LineLayout(int maxLineLength_); // Deleted so LineLayout objects can not be copied. LineLayout(const LineLayout &) = delete; + LineLayout(LineLayout &&) = delete; void operator=(const LineLayout &) = delete; + void operator=(LineLayout &&) = delete; virtual ~LineLayout(); void Resize(int maxLineLength_); void Free(); @@ -110,7 +112,9 @@ public: LineLayoutCache(); // Deleted so LineLayoutCache objects can not be copied. LineLayoutCache(const LineLayoutCache &) = delete; + LineLayoutCache(LineLayoutCache &&) = delete; void operator=(const LineLayoutCache &) = delete; + void operator=(LineLayoutCache &&) = delete; virtual ~LineLayoutCache(); void Deallocate(); enum { @@ -137,7 +141,9 @@ public: // Copy constructor not currently used, but needed for being element in std::vector. PositionCacheEntry(const PositionCacheEntry &); // Deleted so PositionCacheEntry objects can not be assigned. + PositionCacheEntry(PositionCacheEntry &&) = delete; void operator=(const PositionCacheEntry &) = delete; + void operator=(PositionCacheEntry &&) = delete; ~PositionCacheEntry(); void Set(unsigned int styleNumber_, const char *s_, unsigned int len_, XYPOSITION *positions_, unsigned int clock_); void Clear(); @@ -204,7 +210,9 @@ public: int xStart, bool breakForSelection, const Document *pdoc_, const SpecialRepresentations *preprs_, const ViewStyle *pvsDraw); // Deleted so BreakFinder objects can not be copied. BreakFinder(const BreakFinder &) = delete; + BreakFinder(BreakFinder &&) = delete; void operator=(const BreakFinder &) = delete; + void operator=(BreakFinder &&) = delete; ~BreakFinder(); TextSegment Next(); bool More() const; @@ -218,7 +226,9 @@ public: PositionCache(); // Deleted so PositionCache objects can not be copied. PositionCache(const PositionCache &) = delete; + PositionCache(PositionCache &&) = delete; void operator=(const PositionCache &) = delete; + void operator=(PositionCache &&) = delete; ~PositionCache(); void Clear(); void SetSize(size_t size_); |