Skip to content

Commit

Permalink
change namespace usage
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 30, 2024
1 parent d7c94b1 commit 1db9a92
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
#include <power_grid_model/auxiliary/dataset.hpp>
#include <power_grid_model/common/exception.hpp>

using namespace power_grid_model_io_native;
namespace pgm_io = power_grid_model_io_native;

struct PGM_IO_VnfConverter : public PgmVnfConverter {
struct PGM_IO_VnfConverter : public pgm_io::PgmVnfConverter {
using PgmVnfConverter::PgmVnfConverter;
};

Expand All @@ -25,7 +25,7 @@ PGM_IO_VnfConverter* PGM_IO_create_vnf_converter(PGM_IO_Handle* handle, char con
return call_with_catch(
handle,
[file_buffer, experimental_features] {
using enum ExperimentalFeatures;
using enum pgm_io::ExperimentalFeatures;
auto experimental_feature = experimental_features_disabled;
switch (experimental_features) {
case PGM_IO_experimental_features_disabled:
Expand Down

0 comments on commit 1db9a92

Please sign in to comment.