diff --git a/src/util.cpp b/src/util.cpp index 30c530cb4..486df772f 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -248,7 +248,7 @@ bool LogAcceptCategory(const char* category) } else 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 && @@ -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 +}