From 25d754399223fb6465bf64c0ea01994286f41ac3 Mon Sep 17 00:00:00 2001 From: svost Date: Mon, 20 Dec 2021 10:40:06 +0300 Subject: [PATCH] Fix compiler noise (default ctor) --- src/script.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) 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()); -- 1.7.1