diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-03-09 10:33:19 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-03-09 10:33:28 +0100 |
commit | e3e7db829ecd31b0327cff62048ea83ed97f7063 (patch) | |
tree | 4f0e936b01d5836ed90d9970c2c4350d4f79bada | |
parent | c71f0ca5f8394eda9300d79138d0f2bca60f151a (diff) | |
parent | 53a2ba351af41c8ec69cda8c13cc39b07d4e79ee (diff) |
Merge #9538: [util] Remove redundant call to get() on smart pointer (thread_specific_ptr)
53a2ba3 [util] Remove redundant call to get() on smart pointer (thread_specific_ptr) (practicalswift)
Tree-SHA512: ec8ace4218ae0657d1aaf8ba7682b0cdd140fe0844173058d3cbf4575dee8d9ad5f241e5bacf1e9e4ad3f7dd282f56a8cb0f306de2093f2c0f6333daedd58261
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index 30c530cb41..486df772fb 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -248,7 +248,7 @@ bool LogAcceptCategory(const char* category) } else ptrCategory.reset(new std::set<std::string>()); } - const std::set<std::string>& setCategories = *ptrCategory.get(); + const std::set<std::string>& setCategories = *ptrCategory; // if not debugging everything and not debugging specific category, LogPrint does nothing. if (setCategories.count(std::string("")) == 0 && @@ -839,4 +839,4 @@ std::string CopyrightHolders(const std::string& strPrefix) strCopyrightHolders += "\n" + strPrefix + "The Bitcoin Core developers"; } return strCopyrightHolders; -}
\ No newline at end of file +} |