aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2017-01-04 14:42:14 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2017-03-08 08:08:17 -0800
commit8cbfc4e47216cbf9e3e758604e23951f40d76cf9 (patch)
tree4c4dda796b108f27286cd73b63307b5b4109a53d /src/script/script.cpp
parentf3c264e9a6deaa12e89faa783d3c7c99b945f18e (diff)
downloadbitcoin-8cbfc4e47216cbf9e3e758604e23951f40d76cf9.tar.xz
Refactor: Remove using namespace <xxx> from script/
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 01180a7d6d..70eb8a139b 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;