From b901739ab628481e35fd3c530b572748f232b889 Mon Sep 17 00:00:00 2001 From: John Papale Date: Mon, 16 Nov 2020 11:54:25 +0100 Subject: [PATCH] Fixed gcc compile error. --- src/pdf/XPDFRenderer.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/pdf/XPDFRenderer.h b/src/pdf/XPDFRenderer.h index 2b0f94e6..bd31982b 100644 --- a/src/pdf/XPDFRenderer.h +++ b/src/pdf/XPDFRenderer.h @@ -123,12 +123,6 @@ class XPDFRenderer : public PDFRenderer splash = nullptr; } } - - PdfZoomCacheData& operator=(PdfZoomCacheData &rhs) { - Q_ASSERT(splash == nullptr); // Assigning non null rhs not managed. - ratio = rhs.ratio; - return *this; - } }; //! Spawned when a pdf processing is required, when no matching image is found in cache.