summaryrefslogtreecommitdiff
path: root/include/fud_c_file.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/fud_c_file.hpp')
-rw-r--r--include/fud_c_file.hpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/include/fud_c_file.hpp b/include/fud_c_file.hpp
index b54b044..197abd3 100644
--- a/include/fud_c_file.hpp
+++ b/include/fud_c_file.hpp
@@ -22,6 +22,7 @@
#include "fud_result.hpp"
#include "fud_status.hpp"
#include "fud_string.hpp"
+#include "fud_file.hpp"
#include <cstdint>
#include <cstdio>
@@ -82,16 +83,6 @@ constexpr const char* CTextFileModeFromFlags(CFileMode mode)
}
}
-struct [[nodiscard]] ReadResult {
- size_t bytesRead{0};
- FudStatus status{FudStatus::Success};
-};
-
-struct [[nodiscard]] WriteResult {
- size_t bytesWritten{0};
- FudStatus status{FudStatus::Success};
-};
-
namespace detail {
template <typename Derived>