aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2017-03-09 08:14:27 +0100
committerWladimir J. van der Laan <[email protected]>2017-03-09 08:15:44 +0100
commit8152d3fe57a991e9088d0b9d261d2b10936f45a9 (patch)
treefdc872f7f79aa714e5198fbcc89ea837f33ca039 /src/script/script.cpp
parentMerge #9643: [refactor] Remove using namespace <xxx> from wallet/ & util* (diff)
parentRefactor: Remove using namespace <xxx> from script/ (diff)
downloaddiscoin-8152d3fe57a991e9088d0b9d261d2b10936f45a9.tar.xz
discoin-8152d3fe57a991e9088d0b9d261d2b10936f45a9.zip
Merge #9476: [refactor] Remove using namespace <xxx> from rpc/ & script/ sources
8cbfc4e Refactor: Remove using namespace <xxx> from script/ (Karl-Johan Alm) f3c264e Refactor: Remove using namespace <xxx> from rpc/ (Karl-Johan Alm) Tree-SHA512: 407e80eeda0b8e1df22c5fcba33572e117542fde83c67357f6c2d98fa60bcc7b21bb88ad9a1ee59062fbec17fadaa4836b69e8e6d18188b4027b794357634467
Diffstat (limited to 'src/script/script.cpp')
-rw-r--r--src/script/script.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/script/script.cpp b/src/script/script.cpp
index 01180a7d6..70eb8a139 100644
--- a/src/script/script.cpp
+++ b/src/script/script.cpp
@@ -8,8 +8,6 @@
#include "tinyformat.h"
#include "utilstrencodings.h"
-using namespace std;
-
const char* GetOpName(opcodetype opcode)
{
switch (opcode)
@@ -186,7 +184,7 @@ unsigned int CScript::GetSigOpCount(const CScript& scriptSig) const
// get the last item that the scriptSig
// pushes onto the stack:
const_iterator pc = scriptSig.begin();
- vector<unsigned char> vData;
+ std::vector<unsigned char> vData;
while (pc < scriptSig.end())
{
opcodetype opcode;