diff options
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_SymbolDict.h')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_SymbolDict.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/fxcodec/jbig2/JBig2_SymbolDict.h b/core/fxcodec/jbig2/JBig2_SymbolDict.h index 83c419637a..956c83b12f 100644 --- a/core/fxcodec/jbig2/JBig2_SymbolDict.h +++ b/core/fxcodec/jbig2/JBig2_SymbolDict.h @@ -32,11 +32,11 @@ class CJBig2_SymbolDict { const std::vector<JBig2ArithCtx>& GbContext() const { return m_gbContext; } const std::vector<JBig2ArithCtx>& GrContext() const { return m_grContext; } - void SetGbContext(const std::vector<JBig2ArithCtx>& gbContext) { - m_gbContext = gbContext; + void SetGbContext(std::vector<JBig2ArithCtx> gbContext) { + m_gbContext = std::move(gbContext); } - void SetGrContext(const std::vector<JBig2ArithCtx>& grContext) { - m_grContext = grContext; + void SetGrContext(std::vector<JBig2ArithCtx> grContext) { + m_grContext = std::move(grContext); } private: |