[util] Remove redundant call to get() on smart pointer (thread_specific_ptr)

This commit is contained in:
practicalswift committed 2017-03-09 10:22:35 +01:00
1 parent b403ec5c0f
commit 53a2ba351a
1 file changed
+1 -1
+1 -1
View File
@@ -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 &&