diff options
| author | Pieter Wuille <[email protected]> | 2016-12-13 19:36:46 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-12-21 18:28:33 -0800 |
| commit | 2ddfcfd2d67bc2bd8aa4682ceaba6a59614e54d1 (patch) | |
| tree | d2a24af811a5e43a5e3026a9ffed8a0aecb7fc7d /src/script/script.h | |
| parent | Merge #8589: Inline CTxInWitness inside CTxIn (diff) | |
| download | discoin-2ddfcfd2d67bc2bd8aa4682ceaba6a59614e54d1.tar.xz discoin-2ddfcfd2d67bc2bd8aa4682ceaba6a59614e54d1.zip | |
Make CScript (and prevector) c++11 movable.
Such moves are used when reallocating vectors that contain them,
for example.
Diffstat (limited to 'src/script/script.h')
| -rw-r--r-- | src/script/script.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/script/script.h b/src/script/script.h index 76419c149..a2b9d1b79 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -394,7 +394,6 @@ protected: } public: CScript() { } - CScript(const CScript& b) : CScriptBase(b.begin(), b.end()) { } CScript(const_iterator pbegin, const_iterator pend) : CScriptBase(pbegin, pend) { } CScript(std::vector<unsigned char>::const_iterator pbegin, std::vector<unsigned char>::const_iterator pend) : CScriptBase(pbegin, pend) { } CScript(const unsigned char* pbegin, const unsigned char* pend) : CScriptBase(pbegin, pend) { } |