[ox] Fix OxFS 2 Directory test

This commit is contained in:
2018-06-06 23:30:57 -05:00
parent ea7cf59ec7
commit a6b9de9a59
11 changed files with 131 additions and 78 deletions

View File

@@ -12,7 +12,8 @@
namespace ox {
constexpr auto MaxFileNameLength = 255;
constexpr std::size_t MaxFileNameLength = 255;
using FileName = BString<MaxFileNameLength>;
class PathIterator {
private:
@@ -48,12 +49,12 @@ class PathIterator {
/**
* @return 0 if no error
*/
Error next(BString<MaxFileNameLength> *fileName);
Error next(FileName *fileName);
/**
* @return 0 if no error
*/
Error get(BString<MaxFileNameLength> *fileName);
Error get(FileName *fileName);
/**
* @return 0 if no error