From 85556ec98667a4d8b5cc0caa535e034d8ad263b2 Mon Sep 17 00:00:00 2001 From: George Chen Date: Sun, 7 Aug 2022 14:48:17 -0700 Subject: [PATCH] removed experimental namespace from filesystem calls --- parser-spef/parser-spef.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/parser-spef/parser-spef.hpp b/parser-spef/parser-spef.hpp index b960a4d..1c72cb3 100644 --- a/parser-spef/parser-spef.hpp +++ b/parser-spef/parser-spef.hpp @@ -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 friend struct Action; @@ -1156,9 +1156,9 @@ const std::string Control::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 ""; } @@ -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)};