diff --git a/DEPENDENCIES b/DEPENDENCIES index 3ef8eeff..4e5bf389 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -9,3 +9,4 @@ * fmt: https://github.com/fmtlib/fmt * concurrentqueue: https://github.com/cameron314/concurrentqueue * scope_guard: https://github.com/Neargye/scope_guard +* expected-lite: https://github.com/martinmoene/expected-lite diff --git a/src/fs_find_mount_point.hpp b/src/fs_find_mount_point.hpp index f99cf3e6..9fc34558 100644 --- a/src/fs_find_mount_point.hpp +++ b/src/fs_find_mount_point.hpp @@ -19,8 +19,10 @@ #pragma once #include "ghc/filesystem.hpp" +#include "nonstd/expected.hpp" namespace fs { + typedef ECPath nonstd::expected< ghc::filesystem::path find_mount_point(const ghc::filesystem::path &path); }