aboutsummaryrefslogtreecommitdiff
path: root/src/timedata.cpp
diff options
context:
space:
mode:
authorKarl-Johan Alm <[email protected]>2017-01-27 17:43:41 +0900
committerKarl-Johan Alm <[email protected]>2017-01-27 18:13:20 +0900
commitb7b48c8bbdf7a90861610b035d8b0a247ef78c45 (patch)
tree76e6ff7c7547127960ff5e603da95b669cbfdb26 /src/timedata.cpp
parentMerge #9519: Exclude RBF replacement txs from fee estimation (diff)
downloaddiscoin-b7b48c8bbdf7a90861610b035d8b0a247ef78c45.tar.xz
discoin-b7b48c8bbdf7a90861610b035d8b0a247ef78c45.zip
Refactor: Remove using namespace <xxx> from src/*.cpp.
Diffstat (limited to 'src/timedata.cpp')
-rw-r--r--src/timedata.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/timedata.cpp b/src/timedata.cpp
index c72252e6d..2ff6437c7 100644
--- a/src/timedata.cpp
+++ b/src/timedata.cpp
@@ -17,8 +17,6 @@
#include <boost/foreach.hpp>
-using namespace std;
-
static CCriticalSection cs_nTimeOffset;
static int64_t nTimeOffset = 0;
@@ -51,7 +49,7 @@ void AddTimeData(const CNetAddr& ip, int64_t nOffsetSample)
{
LOCK(cs_nTimeOffset);
// Ignore duplicates
- static set<CNetAddr> setKnown;
+ static std::set<CNetAddr> setKnown;
if (setKnown.size() == BITCOIN_TIMEDATA_MAX_SAMPLES)
return;
if (!setKnown.insert(ip).second)