X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fscript.h;h=f10a8cf95f900bec8357c5275a33dc87d916c883;hb=25d754399223fb6465bf64c0ea01994286f41ac3;hp=8dd7ce986d319608f85eb806700ddd797e4e605f;hpb=4f08c5536ca06a0f273a3b4a00e4307e2ca4e8e2;p=novacoin.git diff --git a/src/script.h b/src/script.h index 8dd7ce9..f10a8cf 100644 --- a/src/script.h +++ b/src/script.h @@ -318,6 +318,8 @@ public: CScript(const uint8_t* pbegin, const uint8_t* pend) : std::vector(pbegin, pend) { } #endif + CScript& operator=(const CScript&) = default; + CScript& operator+=(const CScript& b) { insert(end(), b.begin(), b.end());