diff options
Diffstat (limited to 'nihil/open_file.ccm')
| -rw-r--r-- | nihil/open_file.ccm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nihil/open_file.ccm b/nihil/open_file.ccm index 0266177..89af4e6 100644 --- a/nihil/open_file.ccm +++ b/nihil/open_file.ccm @@ -10,6 +10,7 @@ module; export module nihil:open_file; +import :error; import :fd; namespace nihil { @@ -19,6 +20,6 @@ namespace nihil { */ export auto open_file(std::filesystem::path const &filename, int flags, int mode = 0777) - -> std::expected<fd, std::error_code>; + -> std::expected<fd, error>; } // namespace nihil |
