mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Don't declare de facto const member functions as non-const
This commit is contained in:
@@ -135,9 +135,9 @@ namespace BCLog {
|
||||
|
||||
bool WillLogCategory(LogFlags category) const;
|
||||
/** Returns a vector of the log categories */
|
||||
std::vector<LogCategory> LogCategoriesList();
|
||||
std::vector<LogCategory> LogCategoriesList() const;
|
||||
/** Returns a string with the log categories */
|
||||
std::string LogCategoriesString()
|
||||
std::string LogCategoriesString() const
|
||||
{
|
||||
return Join(LogCategoriesList(), ", ", [&](const LogCategory& i) { return i.category; });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user