Skip to content

Commit

Permalink
removed experimental namespace from filesystem calls
Browse files Browse the repository at this point in the history
  • Loading branch information
geochrist committed Aug 7, 2022
1 parent 2b5cc28 commit 85556ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions parser-spef/parser-spef.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ struct Spef {
void scale_capacitance(float);
void scale_resistance(float);

bool read(const std::experimental::filesystem::path &);
bool read(const std::filesystem::path &);

template <typename T>
friend struct Action;
Expand Down Expand Up @@ -1156,9 +1156,9 @@ const std::string Control<T>::error_message =


// Procedure:: file_to_memory reads the content of a file to a string buffer
inline std::string file_to_memory(const std::experimental::filesystem::path &p){
inline std::string file_to_memory(const std::filesystem::path &p){

if(not std::experimental::filesystem::exists(p)){
if(not std::filesystem::exists(p)){
return "";
}

Expand All @@ -1174,7 +1174,7 @@ inline std::string file_to_memory(const std::experimental::filesystem::path &p){
}

// Function: read
inline bool Spef::read(const std::experimental::filesystem::path &p){
inline bool Spef::read(const std::filesystem::path &p){

auto buffer {file_to_memory(p)};

Expand Down

0 comments on commit 85556ec

Please sign in to comment.