Refactor: Remove using namespace <xxx> from script/

This commit is contained in:
Karl-Johan Alm
2017-01-04 14:42:14 +09:00
parent f3c264e9a6
commit 8cbfc4e472
5 changed files with 41 additions and 51 deletions

View File

@@ -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;