diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2019-05-26 11:01:58 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2019-06-06 07:45:56 +0200 |
commit | 0959d37e3e0f80010a78d175e3846dabf5d35919 (patch) | |
tree | 5bf5a0ff6c7887cb53d94febdbadaa7826dfd6cf /src/net_processing.cpp | |
parent | 03858b23fe1d17e681eb18d24602b276020295a0 (diff) |
Don't use global (external) symbols for symbols that are used in only one translation unit
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r-- | src/net_processing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 3d0a9b192d..2ac4f9d681 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -4023,4 +4023,5 @@ public: mapOrphanTransactions.clear(); mapOrphanTransactionsByPrev.clear(); } -} instance_of_cnetprocessingcleanup; +}; +static CNetProcessingCleanup instance_of_cnetprocessingcleanup; |