Skip to content

Commit ba4203a

Browse files
committed
revert designated initializers for c++17 code (clang-tidy is OK)
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
1 parent 3cc431a commit ba4203a

File tree

1 file changed

+1
-1
lines changed
  • power_grid_model_c/power_grid_model_cpp/include/power_grid_model_cpp

1 file changed

+1
-1
lines changed

power_grid_model_c/power_grid_model_cpp/include/power_grid_model_cpp/serialization.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ inline OwningDataset create_owning_dataset(DatasetWritable& writable_dataset) {
116116
writable_dataset.set_buffer(component_name, indptr, current_buffer);
117117
dataset_mutable.add_buffer(component_name, elements_per_scenario, component_size, indptr, current_buffer);
118118
}
119-
return OwningDataset{.dataset = std::move(dataset_mutable), .storage = std::move(storage)};
119+
return OwningDataset{std::move(dataset_mutable), std::move(storage)};
120120
}
121121
} // namespace power_grid_model_cpp
122122

0 commit comments

Comments
 (0)