diff options
Diffstat (limited to 'fxbarcode/cbc_onecode.cpp')
-rw-r--r-- | fxbarcode/cbc_onecode.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fxbarcode/cbc_onecode.cpp b/fxbarcode/cbc_onecode.cpp index ec7033a1f1..2d64704f7e 100644 --- a/fxbarcode/cbc_onecode.cpp +++ b/fxbarcode/cbc_onecode.cpp @@ -21,9 +21,12 @@ #include "fxbarcode/cbc_onecode.h" +#include <utility> + #include "fxbarcode/oned/BC_OneDimWriter.h" -CBC_OneCode::CBC_OneCode(CBC_Writer* pWriter) : CBC_CodeBase(pWriter) {} +CBC_OneCode::CBC_OneCode(std::unique_ptr<CBC_Writer> pWriter) + : CBC_CodeBase(std::move(pWriter)) {} CBC_OneCode::~CBC_OneCode() {} |