diff options
Diffstat (limited to 'fxjs/cjs_document.cpp')
-rw-r--r-- | fxjs/cjs_document.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjs_document.cpp b/fxjs/cjs_document.cpp index d4eca2f175..76d3f18b40 100644 --- a/fxjs/cjs_document.cpp +++ b/fxjs/cjs_document.cpp @@ -1474,8 +1474,8 @@ CJS_Return Document::gotoNamedDest( return CJS_Return(true); } -void Document::AddDelayData(CJS_DelayData* pData) { - m_DelayData.push_back(std::unique_ptr<CJS_DelayData>(pData)); +void Document::AddDelayData(std::unique_ptr<CJS_DelayData> pData) { + m_DelayData.push_back(std::move(pData)); } void Document::DoFieldDelay(const WideString& sFieldName, int nControlIndex) { |