mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-03 20:21:34 +02:00
[util] Remove redundant call to get() on smart pointer (thread_specific_ptr)
This commit is contained in:
@ -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 &&
|
||||
|
Reference in New Issue
Block a user