fixed: pass throug perf-range as an optional

we should not dereference it for STDW where it is expected
to be empty
This commit is contained in:
Arne Morten Kvarving
2023-11-17 12:57:57 +01:00
parent 003560e00d
commit a725a5a85c
4 changed files with 5 additions and 4 deletions

View File

@@ -151,7 +151,7 @@ namespace RestartIO {
void updateSegment(int segment_number_arg,
double center_depth_arg,
std::size_t compseg_insert_index,
const std::pair<double,double>& perf_range);
const std::optional<std::pair<double,double>>& perf_range);
std::size_t sort_value() const;
const bool& getDefaultSatTabId() const;
void setDefaultSatTabId(bool id);