add missed cast

This commit is contained in:
firstlove 2019-03-23 19:10:26 +08:00
parent c0ef47d5e0
commit 787e5efd9f

View File

@ -87,7 +87,7 @@ int main(int argc, char **argv) {
PrintHelpMessage();
return 0;
}
ccls::log::verbosity = ccls::log::Verbosity(opt_verbose.getValue());
ccls::log::verbosity = static_cast<log::Verbosity>(opt_verbose.getValue());
pipeline::Init();
const char *env = getenv("CCLS_CRASH_RECOVERY");