Skip to content

Commit

Permalink
fix clang tidy more
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 cf1a40b commit 570bad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ inline char* PgmVnfConverter::get_file_buffer() { return this->f_file_buffer; }
inline power_grid_model::WritableDataset* PgmVnfConverter::get_deserialized_data() { return this->deserialized_data; }

inline std::vector<power_grid_model::Node> PgmVnfConverter::convert_node_input() {
// here the deserialized data should be used
auto data = this->deserialized_data;

std::vector<power_grid_model::NodeInput> const node_inputs = {{1, 110.0}};

std::vector<power_grid_model::Node> nodes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ PGM_IO_VnfConverter* PGM_VNF_create_converter(const PGM_IO_Handle* /*handle*/, c

char const* PGM_VNF_get_input_data(const PGM_IO_Handle* /*handle*/, PGM_IO_VnfConverter* converter_ptr) {
auto* converter = reinterpret_cast<PgmVnfConverter*>(converter_ptr);
std::string json_data = convert_input_wrapper(converter);
std::string const json_data = convert_input_wrapper(converter);
return json_data.c_str();
}

Expand Down

0 comments on commit 570bad9

Please sign in to comment.