diff options
author | MarcoFalke <falke.marco@gmail.com> | 2017-01-05 11:31:56 +0100 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2017-01-05 11:32:05 +0100 |
commit | 4cfd57d2e38207d78722ce8c9274ba8dd700d1cc (patch) | |
tree | bf92932a6f870b3d44f24c4c5f214518cd63d258 /src/test/net_tests.cpp | |
parent | 406f35d99d0fcd2f50370280e605283d04da466a (diff) | |
parent | 73f41190b91dce9c125b1828b18f7625e0200145 (diff) |
Merge #9281: Refactor: Remove using namespace <xxx> from bench/ & test/ sources
73f4119 Refactoring: Removed using namespace <xxx> from bench/ and test/ source files. (Karl-Johan Alm)
Diffstat (limited to 'src/test/net_tests.cpp')
-rw-r--r-- | src/test/net_tests.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index 87cb38daac..0bd7869f32 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -12,8 +12,6 @@ #include "netbase.h" #include "chainparams.h" -using namespace std; - class CAddrManSerializationMock : public CAddrMan { public: @@ -68,7 +66,7 @@ CDataStream AddrmanToStream(CAddrManSerializationMock& _addrman) ssPeersIn << FLATDATA(Params().MessageStart()); ssPeersIn << _addrman; std::string str = ssPeersIn.str(); - vector<unsigned char> vchData(str.begin(), str.end()); + std::vector<unsigned char> vchData(str.begin(), str.end()); return CDataStream(vchData, SER_DISK, CLIENT_VERSION); } |