diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-03-21 13:04:53 +0000 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2023-03-21 13:04:53 +0000 |
commit | cea50521fe810111a8a3c84ad14f944eafb5b658 (patch) | |
tree | 37c7f0456d601c02b2df0cc4add4e026d213a263 /src/validation.h | |
parent | a87fb6bee5a7fb0879b3adea9a29997f1331acb0 (diff) |
refactor: Drop no longer used `swap` member functions
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/validation.h b/src/validation.h index a12d33b9be..aba863db09 100644 --- a/src/validation.h +++ b/src/validation.h @@ -328,17 +328,6 @@ public: bool operator()(); - void swap(CScriptCheck& check) noexcept - { - std::swap(ptxTo, check.ptxTo); - std::swap(m_tx_out, check.m_tx_out); - std::swap(nIn, check.nIn); - std::swap(nFlags, check.nFlags); - std::swap(cacheStore, check.cacheStore); - std::swap(error, check.error); - std::swap(txdata, check.txdata); - } - ScriptError GetScriptError() const { return error; } }; |