From 23d36867f63af34f65b35f1eb42a269bf36a0555 Mon Sep 17 00:00:00 2001 From: beveloper Date: Sat, 26 Oct 2002 13:51:09 +0000 Subject: [PATCH] fixed BFile git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1682 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/storage/File.h | 2 +- src/kits/storage/File.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/os/storage/File.h b/headers/os/storage/File.h index c30ba6e11d..dd75c192d8 100644 --- a/headers/os/storage/File.h +++ b/headers/os/storage/File.h @@ -37,7 +37,7 @@ public: BFile(const entry_ref *ref, uint32 openMode); BFile(const BEntry *entry, uint32 openMode); BFile(const char *path, uint32 openMode); - BFile(BDirectory *dir, const char *path, uint32 openMode); + BFile(const BDirectory *dir, const char *path, uint32 openMode); virtual ~BFile(); status_t SetTo(const entry_ref *ref, uint32 openMode); diff --git a/src/kits/storage/File.cpp b/src/kits/storage/File.cpp index 5b9dadf343..d69daecadf 100644 --- a/src/kits/storage/File.cpp +++ b/src/kits/storage/File.cpp @@ -94,7 +94,7 @@ BFile::BFile(const char *path, uint32 openMode) \param openMode the mode in which the file should be opened \see SetTo() for values for \a openMode */ -BFile::BFile(BDirectory *dir, const char *path, uint32 openMode) +BFile::BFile(const BDirectory *dir, const char *path, uint32 openMode) : BNode(), BPositionIO(), fMode(0)