diff options
Diffstat (limited to 'core/fpdfapi/font')
-rw-r--r-- | core/fpdfapi/font/cfx_cttgsubtable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/font/cfx_cttgsubtable.cpp b/core/fpdfapi/font/cfx_cttgsubtable.cpp index 4870756ca0..ae868ca5ab 100644 --- a/core/fpdfapi/font/cfx_cttgsubtable.cpp +++ b/core/fpdfapi/font/cfx_cttgsubtable.cpp @@ -243,12 +243,12 @@ CFX_CTTGSUBTable::ParseCoverage(FT_Bytes raw) { if (format == 1) { auto rec = pdfium::MakeUnique<TCoverageFormat1>(); ParseCoverageFormat1(raw, rec.get()); - return rec; + return std::move(rec); } if (format == 2) { auto rec = pdfium::MakeUnique<TCoverageFormat2>(); ParseCoverageFormat2(raw, rec.get()); - return rec; + return std::move(rec); } return nullptr; } |