From 49b743e39a375a8f517165d6614adf85aa744cd6 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Thu, 9 Mar 2017 10:33:19 +0100 Subject: [PATCH] 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 --- src/util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.cpp b/src/util.cpp index f4800678e..a232f7663 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -293,7 +293,7 @@ bool LogAcceptCategory(const char* category) ptrCategory.reset(new std::set()); } } - const std::set& setCategories = *ptrCategory.get(); + const std::set& setCategories = *ptrCategory; // if not debugging everything and not debugging specific category, LogPrint does nothing. if (setCategories.count(std::string("")) == 0 &&