diff --git a/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/EclUtil.hpp b/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/EclUtil.hpp index 7492225c45..081409fad6 100644 --- a/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/EclUtil.hpp +++ b/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/EclUtil.hpp @@ -39,7 +39,7 @@ namespace Opm { namespace EclIO { bool is_number(const std::string& numstr); bool isEqualCaseInsensitive(const std::string& string1, const std::string& string2); - Opm::filesystem::path findFileCaseInsensitive(const std::filesystem::path& folder, const std::string& filename); + Opm::filesystem::path findFileCaseInsensitive(const Opm::filesystem::path& folder, const std::string& filename); std::tuple block_size_data_binary(eclArrType arrType); std::tuple block_size_data_formatted(eclArrType arrType); diff --git a/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/EclUtil.cpp b/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/EclUtil.cpp index 94aa3dc353..4b8d567125 100644 --- a/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/EclUtil.cpp +++ b/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/EclUtil.cpp @@ -94,9 +94,9 @@ bool Opm::EclIO::isEqualCaseInsensitive(const std::string& string1, const std::s return string1LowerCase == string2LowerCase; } -std::filesystem::path Opm::EclIO::findFileCaseInsensitive(const std::filesystem::path& folder, const std::string& filename) +Opm::filesystem::path Opm::EclIO::findFileCaseInsensitive(const Opm::filesystem::path& folder, const std::string& filename) { - for (auto& p : std::filesystem::directory_iterator(folder)) { + for (auto& p : Opm::filesystem::directory_iterator(folder)) { std::string candidate = p.path().filename().string(); if (isEqualCaseInsensitive(filename, candidate)) return p.path();