Repplaced map with unordered_map for level->colos mapping
This commit is contained in:
parent
f258af4364
commit
51a83da578
@ -10,7 +10,7 @@
|
||||
#include "../details/os.h"
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace spdlog
|
||||
{
|
||||
@ -102,7 +102,7 @@ protected:
|
||||
}
|
||||
FILE* target_file_;
|
||||
bool should_do_colors_;
|
||||
std::map<level::level_enum, std::string> colors_;
|
||||
std::unordered_map<level::level_enum, std::string> colors_;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user