diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-02-21 16:14:22 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-21 16:14:22 +0000 |
commit | 8df7805e66d3b32513b05554aacd5959a5e5928f (patch) | |
tree | 46cd87cf2e3da2ad528228cfadd690fcd89c0966 /xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp | |
parent | ee1db60fc0e20706cc987b2b0cc5c03dc2222f6a (diff) | |
download | pdfium-8df7805e66d3b32513b05554aacd5959a5e5928f.tar.xz |
[formcalc] Use default destructors
This CL switches the empty destructors in the FormCalc expressions to
use default.
Change-Id: I0a2ea520c89a96d29a2e2564572a7cf345f9f31a
Reviewed-on: https://pdfium-review.googlesource.com/27510
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp')
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp index e0af27ea25..82aada6438 100644 --- a/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp +++ b/xfa/fxfa/fm2js/cxfa_fmsimpleexpression.cpp @@ -92,7 +92,7 @@ bool CXFA_FMNullExpression::ToJavaScript(CFX_WideTextBuf& js, ReturnType type) { CXFA_FMNumberExpression::CXFA_FMNumberExpression(WideStringView wsNumber) : CXFA_FMSimpleExpression(TOKnumber), m_wsNumber(wsNumber) {} -CXFA_FMNumberExpression::~CXFA_FMNumberExpression() {} +CXFA_FMNumberExpression::~CXFA_FMNumberExpression() = default; bool CXFA_FMNumberExpression::ToJavaScript(CFX_WideTextBuf& js, ReturnType type) { @@ -107,7 +107,7 @@ bool CXFA_FMNumberExpression::ToJavaScript(CFX_WideTextBuf& js, CXFA_FMStringExpression::CXFA_FMStringExpression(WideStringView wsString) : CXFA_FMSimpleExpression(TOKstring), m_wsString(wsString) {} -CXFA_FMStringExpression::~CXFA_FMStringExpression() {} +CXFA_FMStringExpression::~CXFA_FMStringExpression() = default; bool CXFA_FMStringExpression::ToJavaScript(CFX_WideTextBuf& js, ReturnType type) { @@ -147,7 +147,7 @@ CXFA_FMIdentifierExpression::CXFA_FMIdentifierExpression( WideStringView wsIdentifier) : CXFA_FMSimpleExpression(TOKidentifier), m_wsIdentifier(wsIdentifier) {} -CXFA_FMIdentifierExpression::~CXFA_FMIdentifierExpression() {} +CXFA_FMIdentifierExpression::~CXFA_FMIdentifierExpression() = default; bool CXFA_FMIdentifierExpression::ToJavaScript(CFX_WideTextBuf& js, ReturnType type) { @@ -540,7 +540,7 @@ CXFA_FMDotAccessorExpression::CXFA_FMDotAccessorExpression( m_pExp1(std::move(pAccessor)), m_pExp2(std::move(pIndexExp)) {} -CXFA_FMDotAccessorExpression::~CXFA_FMDotAccessorExpression() {} +CXFA_FMDotAccessorExpression::~CXFA_FMDotAccessorExpression() = default; bool CXFA_FMDotAccessorExpression::ToJavaScript(CFX_WideTextBuf& js, ReturnType type) { @@ -637,7 +637,7 @@ CXFA_FMDotDotAccessorExpression::CXFA_FMDotDotAccessorExpression( m_pExp1(std::move(pAccessor)), m_pExp2(std::move(pIndexExp)) {} -CXFA_FMDotDotAccessorExpression::~CXFA_FMDotDotAccessorExpression() {} +CXFA_FMDotDotAccessorExpression::~CXFA_FMDotDotAccessorExpression() = default; bool CXFA_FMDotDotAccessorExpression::ToJavaScript(CFX_WideTextBuf& js, ReturnType type) { |