@@ -58,7 +58,7 @@ int get_region_id(int id)
58
58
}
59
59
60
60
IOResult<void > read_confirmed_cases_data (
61
- std::string const & path, std:: vector<ConfirmedCasesDataEntry>& rki_data, std::vector<int > const & vregion, Date date,
61
+ std::vector<ConfirmedCasesDataEntry>& rki_data, std::vector<int > const & vregion, Date date,
62
62
std::vector<std::vector<double >>& vnum_Exposed, std::vector<std::vector<double >>& vnum_InfectedNoSymptoms,
63
63
std::vector<std::vector<double >>& vnum_InfectedSymptoms, std::vector<std::vector<double >>& vnum_InfectedSevere,
64
64
std::vector<std::vector<double >>& vnum_icu, std::vector<std::vector<double >>& vnum_death,
@@ -74,12 +74,12 @@ IOResult<void> read_confirmed_cases_data(
74
74
});
75
75
if (max_date_entry == rki_data.end ()) {
76
76
log_error (" RKI data file is empty." );
77
- return failure (StatusCode::InvalidFileFormat, path + " , file is empty." );
77
+ return failure (StatusCode::InvalidFileFormat, " RKI file is empty." );
78
78
}
79
79
auto max_date = max_date_entry->date ;
80
80
if (max_date < date) {
81
81
log_error (" Specified date does not exist in RKI data" );
82
- return failure (StatusCode::OutOfRange, path + " , specified date does not exist in RKI data." );
82
+ return failure (StatusCode::OutOfRange, " Specified date does not exist in RKI data." );
83
83
}
84
84
auto days_surplus = std::min (get_offset_in_days (max_date, date) - 6 , 0 );
85
85
@@ -277,4 +277,4 @@ read_population_data(const std::string& path, const std::vector<int>& vregion, b
277
277
278
278
#endif // MEMILIO_HAS_JSONCPP
279
279
280
- GCC_CLANG_DIAGNOSTIC (pop)
280
+ GCC_CLANG_DIAGNOSTIC (pop)
0 commit comments