Repplaced map with unordered_map for level->colos mapping

This commit is contained in:
gabime 2018-02-03 18:57:57 +02:00
parent f258af4364
commit 51a83da578

View File

@ -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_;
};