summaryrefslogtreecommitdiff
path: root/poppler/OutputDev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'poppler/OutputDev.cc')
-rw-r--r--poppler/OutputDev.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/poppler/OutputDev.cc b/poppler/OutputDev.cc
index f1f766d5..f03b146b 100644
--- a/poppler/OutputDev.cc
+++ b/poppler/OutputDev.cc
@@ -183,7 +183,7 @@ void OutputDev::opiEnd(GfxState *state, Dict *opiDict) {
#endif
void OutputDev::startProfile() {
- profileHash.reset(new std::unordered_map<std::string, ProfileData>);
+ profileHash = std::make_unique<std::unordered_map<std::string, ProfileData>>();
}
std::unique_ptr<std::unordered_map<std::string, ProfileData>> OutputDev::endProfile() {