add a default to quell unhandled value in switch warning

This commit is contained in:
Arne Morten Kvarving
2019-12-17 11:56:41 +01:00
parent 132665e469
commit a63bde6bba

View File

@@ -538,6 +538,9 @@ namespace {
case UType::UNIT_TYPE_PVT_M:
return 1.322e-15f;
default:
break;
}
throw std::invalid_argument {