From 87bd299a36fc16f1d84c06adacb4e8516c107154 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 16 Apr 2025 11:54:35 -0500 Subject: [PATCH] fs_find_mount_point.cpp --- src/fs_find_mount_point.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs_find_mount_point.cpp b/src/fs_find_mount_point.cpp index f0dd0074..c0075f1e 100644 --- a/src/fs_find_mount_point.cpp +++ b/src/fs_find_mount_point.cpp @@ -22,7 +22,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_) if(rv == -1) { ec.assign(errno,std::generic_category()); - return nonstd::make_unexpected({errno,std::generic_category()}); + return nonstd::make_unexpected(std::error_code{errno,std::generic_category()}); } tmp_path = can_path;