diff options
| author | Karl-Johan Alm <[email protected]> | 2017-01-27 17:43:41 +0900 |
|---|---|---|
| committer | Karl-Johan Alm <[email protected]> | 2017-01-27 18:13:20 +0900 |
| commit | b7b48c8bbdf7a90861610b035d8b0a247ef78c45 (patch) | |
| tree | 76e6ff7c7547127960ff5e603da95b669cbfdb26 /src/timedata.cpp | |
| parent | Merge #9519: Exclude RBF replacement txs from fee estimation (diff) | |
| download | discoin-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.cpp | 4 |
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) |