@ -3,7 +3,7 @@
namespace Bk {
std::string DirEntry::path()
{
return ent.path().string();
return this->ent.path().string();
}
std::string DirEntry::absolute_path()
@ -5,8 +5,7 @@
#define BK_DIR_ENTRY_TYPE(type) const char* type_name() override { return BK_STRINGIFY(type); }\
static FileType get_type() { return FileType::type; }\
namespace Bk
using FileType = std::filesystem::file_type;
using FilePerms = std::filesystem::perms;
using FileStatus = std::filesystem::file_status;