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 --- kghostview/kgvdocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kghostview/kgvdocument.cpp') diff --git a/kghostview/kgvdocument.cpp b/kghostview/kgvdocument.cpp index 3d9dad26..ae0742da 100644 --- a/kghostview/kgvdocument.cpp +++ b/kghostview/kgvdocument.cpp @@ -171,7 +171,7 @@ bool KGVDocument::uncompressFile() // If the file is gzipped, gunzip it to the temporary file _tmpUnzipped. kdDebug(4500) << "KGVDocument::uncompressFile()" << endl; - auto_ptr filterDev( KFilterDev::deviceForFile( _fileName, _mimetype, true ) ); + unique_ptr filterDev( KFilterDev::deviceForFile( _fileName, _mimetype, true ) ); if ( !filterDev.get() ) { KMimeType::Ptr mt = KMimeType::mimeType(_mimetype); if ( (_fileName.right( 3 ) == ".gz") || mt->is("application/x-gzip") ) { -- cgit v1.2.1