Skip to content

Commit

Permalink
fix some clang tidy issues
Browse files Browse the repository at this point in the history
Signed-off-by: Laurynas Jagutis <[email protected]>
  • Loading branch information
Laurynas-Jagutis committed Oct 2, 2024
1 parent e613118 commit 646863f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
#include <iostream>

inline power_grid_model::ConstDataset
create_const_dataset_from_container(const power_grid_model::Container<power_grid_model::Node>& container,
create_const_dataset_from_container(const power_grid_model::Container<power_grid_model::Node>& /*container*/,
power_grid_model::meta_data::MetaData const& meta_data) {
// for now leave it empty
std::string_view const dataset_name = "empty_dataset";
power_grid_model::ConstDataset const_dataset{false, 1, dataset_name, meta_data};
return const_dataset;
Expand Down Expand Up @@ -95,7 +96,7 @@ inline std::string PgmVnfConverter::convert_input() {

power_grid_model::ConstDataset const_dataset = create_const_dataset_from_container(container, meta_data);

std::string const serialized_pgm_data = get_serialized_data(const_dataset);
std::string serialized_pgm_data = get_serialized_data(const_dataset);

// 1. our vnf importer it directly understands the vnf format
// 2. convert vnf like dataset to internal types (take raw data and convert it to pgm component container)
Expand Down

0 comments on commit 646863f

Please sign in to comment.