diff options
author | gatecat <gatecat@ds0.me> | 2021-06-02 11:36:56 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-06-02 15:05:20 +0100 |
commit | eca1a4cee4f310c7e2c1216bd678143c1967edd4 (patch) | |
tree | 2106f7895e22f60f6d200cca6d9244bcc81a1ab9 /common/log.cc | |
parent | b8a68f5f35af49c36d6f4e86a3a1c5afa1b3215f (diff) | |
download | nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.tar.gz nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.tar.bz2 nextpnr-eca1a4cee4f310c7e2c1216bd678143c1967edd4.zip |
Use hashlib in most remaining code
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/log.cc')
-rw-r--r-- | common/log.cc | 2 |
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; |