aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-04-04 08:35:40 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-04-13 09:06:35 -0700
commit33a8ecfbce9c108f0a945dcce479e87c8a2714dc (patch)
tree0d1e390665091dc96938bd5625db07048818a58b /src/script/script.h
parent2fb168b55d8e07a1df357040cd59c0a93d3ccb6a (diff)
Delete unused non-const-iterator CSCript::GetOp overloads
Diffstat (limited to 'src/script/script.h')
-rw-r--r--src/script/script.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/script/script.h b/src/script/script.h
index 224785d999..00fd469fa1 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -493,23 +493,6 @@ public:
}
- bool GetOp(iterator& pc, opcodetype& opcodeRet, std::vector<unsigned char>& vchRet)
- {
- // Wrapper so it can be called with either iterator or const_iterator
- const_iterator pc2 = pc;
- bool fRet = GetOp2(pc2, opcodeRet, &vchRet);
- pc = begin() + (pc2 - begin());
- return fRet;
- }
-
- bool GetOp(iterator& pc, opcodetype& opcodeRet)
- {
- const_iterator pc2 = pc;
- bool fRet = GetOp2(pc2, opcodeRet, nullptr);
- pc = begin() + (pc2 - begin());
- return fRet;
- }
-
bool GetOp(const_iterator& pc, opcodetype& opcodeRet, std::vector<unsigned char>& vchRet) const
{
return GetOp2(pc, opcodeRet, &vchRet);