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