fix(gcc-builds): fixed signedness warnings on gcc builds
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user