aboutsummaryrefslogtreecommitdiffstats
path: root/common/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/log.cc')
-rw-r--r--common/log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.cc b/common/log.cc
index 01aec79a..a429d172 100644
--- a/common/log.cc
+++ b/common/log.cc
@@ -38,7 +38,7 @@ log_write_type log_write_function = nullptr;
std::string log_last_error;
void (*log_error_atexit)() = NULL;
-std::unordered_map<LogLevel, int> message_count_by_level;
+dict<LogLevel, int, loglevel_hash_ops> message_count_by_level;
static int log_newline_count = 0;
bool had_nonfatal_error = false;