From 3e2f7e0ef4fbb61a0f3875ea10e72f985786c865 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Wed, 7 Oct 2020 01:30:48 +0200 Subject: Fixups to build on c++11-only compilers This is a follow-up to: - c258db7bea59bd536d71fd91c960d3bd9e1b4bb4 avoiding breakage on gcc48 for CentOS6 baseline (which has no full c++14 support yet) Change-Id: I5460bce0416e2e5c3fe5b7ab9ea0c6ffdb5da9f6 --- vcl/source/pdf/PDFiumLibrary.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vcl/source/pdf/PDFiumLibrary.cxx b/vcl/source/pdf/PDFiumLibrary.cxx index 330c473ac6dc..2bfa76e61559 100644 --- a/vcl/source/pdf/PDFiumLibrary.cxx +++ b/vcl/source/pdf/PDFiumLibrary.cxx @@ -9,6 +9,7 @@ */ #include +#include #if HAVE_FEATURE_PDFIUM @@ -52,7 +53,7 @@ std::unique_ptr PDFiumDocument::openPage(int nIndex) FPDF_PAGE pPage = FPDF_LoadPage(mpPdfDocument, nIndex); if (pPage) { - pPDFiumPage = std::make_unique(pPage); + pPDFiumPage = o3tl::make_unique(pPage); } return pPDFiumPage; } -- cgit