diff --git a/headers/os/storage/Path.h b/headers/os/storage/Path.h index 0e27303b0f..13438a40f9 100644 --- a/headers/os/storage/Path.h +++ b/headers/os/storage/Path.h @@ -25,7 +25,8 @@ public: BPath(const BEntry* entry); BPath(const char* dir, const char* leaf = NULL, bool normalize = false); - BPath(const BDirectory* dir, const char* leaf, + BPath(const BDirectory* dir, + const char* leaf = NULL, bool normalize = false); virtual ~BPath(); @@ -36,7 +37,8 @@ public: status_t SetTo(const BEntry* entry); status_t SetTo(const char* path, const char* leaf = NULL, bool normalize = false); - status_t SetTo(const BDirectory* dir, const char* path, + status_t SetTo(const BDirectory* dir, + const char* leaf = NULL, bool normalize = false); void Unset();