summaryrefslogtreecommitdiff
path: root/poppler/Gfx.cc
diff options
context:
space:
mode:
Diffstat (limited to 'poppler/Gfx.cc')
-rw-r--r--poppler/Gfx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index f9dc1742..58c36fcb 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -4463,7 +4463,7 @@ void Gfx::doImage(Object *ref, Stream *str, bool inlineImg) {
if (obj1.isNull()) {
obj1 = maskDict->lookup("D");
}
- maskColorMap.reset(new GfxImageColorMap(maskBits, &obj1, maskColorSpace));
+ maskColorMap = std::make_unique<GfxImageColorMap>(maskBits, &obj1, maskColorSpace);
if (!maskColorMap->isOk()) {
goto err1;
}