diff options
Diffstat (limited to 'fxbarcode/cbc_ean13.cpp')
-rw-r--r-- | fxbarcode/cbc_ean13.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fxbarcode/cbc_ean13.cpp b/fxbarcode/cbc_ean13.cpp index 73638b951f..1c57a877f2 100644 --- a/fxbarcode/cbc_ean13.cpp +++ b/fxbarcode/cbc_ean13.cpp @@ -24,8 +24,10 @@ #include <memory> #include "fxbarcode/oned/BC_OnedEAN13Writer.h" +#include "third_party/base/ptr_util.h" -CBC_EAN13::CBC_EAN13() : CBC_OneCode(new CBC_OnedEAN13Writer) {} +CBC_EAN13::CBC_EAN13() + : CBC_OneCode(pdfium::MakeUnique<CBC_OnedEAN13Writer>()) {} CBC_EAN13::~CBC_EAN13() {} |