Repplaced map with unordered_map for level->colos mapping

pull/628/head
gabime 8 years ago
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…
Cancel
Save