fix(gcc-builds): fixed signedness warnings on gcc builds

This commit is contained in:
2025-11-03 08:53:56 -05:00
parent 86d7a283a1
commit 70ebe151ba
5 changed files with 14 additions and 12 deletions

View File

@@ -7,11 +7,12 @@
namespace gridfire::screening {
std::unique_ptr<ScreeningModel> selectScreeningModel(const ScreeningType type) {
switch (type) {
case ScreeningType::WEAK:
return std::make_unique<WeakScreeningModel>();
case ScreeningType::BARE:
return std::make_unique<BareScreeningModel>();
}
switch (type) {
case ScreeningType::WEAK:
return std::make_unique<WeakScreeningModel>();
case ScreeningType::BARE:
return std::make_unique<BareScreeningModel>();
}
throw std::runtime_error("Unknown ScreeningType");
}
}