git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
4f08c55
)
Fix compiler noise (default ctor)
author
svost
<svost@users.noreply.github.com>
Mon, 20 Dec 2021 07:40:06 +0000 (10:40 +0300)
committer
GitHub
<noreply@github.com>
Mon, 20 Dec 2021 07:40:06 +0000 (10:40 +0300)
src/script.h
patch
|
blob
|
history
diff --git
a/src/script.h
b/src/script.h
index
8dd7ce9
..
f10a8cf
100644
(file)
--- a/
src/script.h
+++ b/
src/script.h
@@
-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());