Permalink
Browse files

Explicitly omit two assignment operators to silence compiler warnings.

  • Loading branch information...
1 parent cea62db commit 2d4b6c57569407a1b95465f45acfed133e67e4d1 @adamv adamv committed Oct 22, 2009
Showing with 6 additions and 0 deletions.
  1. +3 −0 src/LineListNoWrap.h
  2. +3 −0 src/LineListWrap.h
View
@@ -73,6 +73,9 @@ class LineListNoWrap : public LineList {
unsigned int m_maxWidth;
std::vector<unsigned int> m_textOffsets;
std::vector<unsigned int> m_lineWidths;
+
+private:
+ LineListNoWrap& operator = (const LineListNoWrap& other);
};
#endif //__LINELISTNOWRAP_H__
View
@@ -110,6 +110,9 @@ class LineListWrap : public LineList {
unsigned int approxBottom;
unsigned int avr_lineheight;
int approxDiff;
+
+private:
+ LineListWrap& operator = (const LineListWrap& other);
};
#endif // __LINELISTWRAP_H__

0 comments on commit 2d4b6c5

Please sign in to comment.