diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-12-13 19:36:46 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-12-21 18:28:33 -0800 |
commit | 2ddfcfd2d67bc2bd8aa4682ceaba6a59614e54d1 (patch) | |
tree | d2a24af811a5e43a5e3026a9ffed8a0aecb7fc7d /src/script | |
parent | e8cfe1ee2d01c493b758a67ad14707dca15792ea (diff) |
Make CScript (and prevector) c++11 movable.
Such moves are used when reallocating vectors that contain them,
for example.
Diffstat (limited to 'src/script')
-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 76419c1495..a2b9d1b792 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) { } |