diff --git a/src/util.cpp b/src/util.cpp index f4800678ecb8c..a232f7663246d 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 &&