diff options
| author | MarcoFalke <[email protected]> | 2017-01-30 13:13:07 +0100 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2017-01-30 13:13:20 +0100 |
| commit | 668de70be039a4f1ffcf20aeae2a22ee71fc55a8 (patch) | |
| tree | e6baaf60d95d75452af3ebacd57da5479d4a3ebd /src/timedata.cpp | |
| parent | Merge #9626: Clean up a few CConnman cs_vNodes/CNode things (diff) | |
| parent | Refactor: Remove using namespace <xxx> from src/*.cpp. (diff) | |
| download | discoin-668de70be039a4f1ffcf20aeae2a22ee71fc55a8.tar.xz discoin-668de70be039a4f1ffcf20aeae2a22ee71fc55a8.zip | |
Merge #9644: [refactor] Remove using namespace <xxx> from src/
b7b48c8 Refactor: Remove using namespace <xxx> from src/*.cpp. (Karl-Johan Alm)
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) |