diff options
| author | practicalswift <[email protected]> | 2019-05-24 15:18:42 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2019-05-25 23:23:11 +0200 |
| commit | fb434159d18e8077ae2d31e1a54c2f8248a6366a (patch) | |
| tree | cb027f5229c756832058bc7ca74475cb6a3a7e9d /src/init.cpp | |
| parent | Merge #16042: test: Bump MAX_NODES to 12 (diff) | |
| download | discoin-fb434159d18e8077ae2d31e1a54c2f8248a6366a.tar.xz discoin-fb434159d18e8077ae2d31e1a54c2f8248a6366a.zip | |
Remove global symbols: Avoid using the global namespace if possible
Rename CCriticalSection to RecursiveMutex (both are AnnotatedMixin<std::recursive_mutex>)
```
$ git grep -E '(typedef|using).*(CCriticalSection|RecursiveMutex)'
src/sync.h:using RecursiveMutex = AnnotatedMixin<std::recursive_mutex>;
src/sync.h:typedef AnnotatedMixin<std::recursive_mutex> CCriticalSection;
```
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index b4b4ccb65..2bb270647 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -74,7 +74,7 @@ #include <zmq/zmqrpc.h> #endif -bool fFeeEstimatesInitialized = false; +static bool fFeeEstimatesInitialized = false; static const bool DEFAULT_PROXYRANDOMIZE = true; static const bool DEFAULT_REST_ENABLE = false; static const bool DEFAULT_STOPAFTERBLOCKIMPORT = false; |