Skip to content

Commit

Permalink
add namespaces
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 23, 2024
1 parent c641bba commit 81207d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

#include <iostream>

namespace power_grid_model_io_native {

inline power_grid_model::ConstDataset
create_const_dataset_from_container(power_grid_model::Container<power_grid_model::Node> const& /*container*/,
power_grid_model::meta_data::MetaData const& meta_data) {
Expand All @@ -32,7 +34,7 @@ inline std::string serialize_data(power_grid_model::ConstDataset const& const_da
return serialized_pgm_data;
}

using namespace power_grid_model_io_native;
// using namespace power_grid_model_io_native;

class PgmVnfConverter {
public:
Expand Down Expand Up @@ -173,4 +175,6 @@ inline std::string const& convert_input_wrapper(PgmVnfConverter* obj) {
return obj->get_serialized_data();
}

} // namespace power_grid_model_io_native

#endif // POWER_GRID_MODEL_IO_NATIVE_C_VNF_PGM_CONVERTER_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#include <power_grid_model/auxiliary/dataset.hpp>

using namespace power_grid_model_io_native;

using power_grid_model::ConstDataset;

struct PGM_IO_VnfConverter : public PgmVnfConverter {
Expand Down

0 comments on commit 81207d4

Please sign in to comment.