summaryrefslogtreecommitdiffstats
path: root/src/renderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer.h')
-rw-r--r--src/renderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.h b/src/renderer.h
index d2769b2..49fa0f3 100644
--- a/src/renderer.h
+++ b/src/renderer.h
@@ -128,7 +128,7 @@ private:
int m_linesPerPage;
int m_paraOffset;
TQFont m_font;
- std::auto_ptr<TQFontMetrics> m_fontMetrics;
+ std::unique_ptr<TQFontMetrics> m_fontMetrics;
TQSize m_pageSize;
bool m_isStartAdded;
TIndex m_curParagraph;