Commit 51a83da5 authored by gabime's avatar gabime

Repplaced map with unordered_map for level->colos mapping

parent f258af43
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "../details/os.h" #include "../details/os.h"
#include <string> #include <string>
#include <map> #include <unordered_map>
namespace spdlog namespace spdlog
{ {
...@@ -102,7 +102,7 @@ protected: ...@@ -102,7 +102,7 @@ protected:
} }
FILE* target_file_; FILE* target_file_;
bool should_do_colors_; bool should_do_colors_;
std::map<level::level_enum, std::string> colors_; std::unordered_map<level::level_enum, std::string> colors_;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment