1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-10-27 20:34:20 +00:00

add missing enum conversion

This commit is contained in:
Oliver Giles 2015-11-01 11:30:18 +01:00
parent beede38643
commit 16081adb30

View File

@ -58,6 +58,7 @@ namespace {
LaminarCi::JobResult fromRunState(RunState state) { LaminarCi::JobResult fromRunState(RunState state) {
switch(state) { switch(state) {
case RunState::SUCCESS: return LaminarCi::JobResult::SUCCESS; case RunState::SUCCESS: return LaminarCi::JobResult::SUCCESS;
case RunState::FAILED: return LaminarCi::JobResult::FAILED;
default: default:
KJ_DBG("TODO log state", to_string(state)); KJ_DBG("TODO log state", to_string(state));
return LaminarCi::JobResult::UNKNOWN; return LaminarCi::JobResult::UNKNOWN;