aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 15:51:22 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 18:44:25 +0000
commit1c65c075ee4c7f98d9c1fac5ed7576b96374d4e9 (patch)
tree6bbc3ecd15d74450843b7049414b0c1950182c4b /src/logging.cpp
parent64156ad4d1f50daf35250dc3b329a8a595594d87 (diff)
downloadbitcoin-1c65c075ee4c7f98d9c1fac5ed7576b96374d4e9.tar.xz
Don't declare de facto const member functions as non-const
Diffstat (limited to 'src/logging.cpp')
-rw-r--r--src/logging.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.cpp b/src/logging.cpp
index 35e0754f20..4ddcf1d930 100644
--- a/src/logging.cpp
+++ b/src/logging.cpp
@@ -174,7 +174,7 @@ bool GetLogCategory(BCLog::LogFlags& flag, const std::string& str)
return false;
}
-std::vector<LogCategory> BCLog::Logger::LogCategoriesList()
+std::vector<LogCategory> BCLog::Logger::LogCategoriesList() const
{
std::vector<LogCategory> ret;
for (const CLogCategoryDesc& category_desc : LogCategories) {