diff --git a/gb.pdf/src/main.cpp b/gb.pdf/src/main.cpp index 2d7f02ca0..62923cc34 100644 --- a/gb.pdf/src/main.cpp +++ b/gb.pdf/src/main.cpp @@ -56,7 +56,7 @@ int EXPORT GB_INIT(void) if (!globalParams) { #if POPPLER_VERSION_0_83 - globalParams = std::unique_ptr(); + globalParams = std::unique_ptr(new GlobalParams()); #else globalParams = new GlobalParams(); #endif