Skip to content

Commit 26aabcf

Browse files
committed
remove redundant .c_str()
1 parent 950767d commit 26aabcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cpp/fs/Settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Settings::Settings(const string dirname)
189189
threshold_scenario_weight = stod(get_value(settings, "THRESHOLD_SCENARIO_WEIGHT"));
190190
threshold_daily_weight = stod(get_value(settings, "THRESHOLD_DAILY_WEIGHT"));
191191
threshold_hourly_weight = stod(get_value(settings, "THRESHOLD_HOURLY_WEIGHT"));
192-
output_date_offsets = OutputDateOffsets{get_value(settings, "OUTPUT_DATE_OFFSETS").c_str()};
192+
output_date_offsets = OutputDateOffsets{get_value(settings, "OUTPUT_DATE_OFFSETS")};
193193
default_percent_conifer = stoi(get_value(settings, "DEFAULT_PERCENT_CONIFER"));
194194
default_percent_dead_fir = stoi(get_value(settings, "DEFAULT_PERCENT_DEAD_FIR"));
195195
intensity_max_low = stoi(get_value(settings, "INTENSITY_MAX_LOW"));

0 commit comments

Comments
 (0)