Fix compiler noise (default ctor)
authorsvost <svost@users.noreply.github.com>
Mon, 20 Dec 2021 07:40:06 +0000 (10:40 +0300)
committerGitHub <noreply@github.com>
Mon, 20 Dec 2021 07:40:06 +0000 (10:40 +0300)
src/script.h

index 8dd7ce9..f10a8cf 100644 (file)
@@ -318,6 +318,8 @@ public:
     CScript(const uint8_t* pbegin, const uint8_t* pend) : std::vector<uint8_t>(pbegin, pend) { }
 #endif
 
+    CScript& operator=(const CScript&) = default;
+
     CScript& operator+=(const CScript& b)
     {
         insert(end(), b.begin(), b.end());