From 0d168f7ecdd875e739d7e3fb0df7348bc5d7deb0 Mon Sep 17 00:00:00 2001 From: OBATA Akio Date: Sat, 22 Jan 2022 14:34:09 +0900 Subject: Change to use c++11 unique_ptr instead of deprecated auto_ptr Signed-off-by: OBATA Akio --- tdefile-plugins/ps/gscreator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdefile-plugins/ps/gscreator.cpp') diff --git a/tdefile-plugins/ps/gscreator.cpp b/tdefile-plugins/ps/gscreator.cpp index c664947b..88601a4c 100644 --- a/tdefile-plugins/ps/gscreator.cpp +++ b/tdefile-plugins/ps/gscreator.cpp @@ -241,7 +241,7 @@ bool GSCreator::create(const TQString &path, int width, int height, TQImage &img char translation[64] = ""; char pagesize[32] = ""; char resopt[32] = ""; - std::auto_ptr bbox = dsc.bbox(); + std::unique_ptr bbox = dsc.bbox(); if (is_encapsulated) { // GhostScript's rendering at the extremely low resolutions // required for thumbnails leaves something to be desired. To -- cgit v1.2.1