We need to override the virtual close_fd() in BFile for binary compatibility

(bug #43).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13937 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2005-08-12 09:26:59 +00:00
parent fdbc56b338
commit 4b9ec73e99
2 changed files with 10 additions and 0 deletions

View File

@ -72,6 +72,7 @@ private:
private: private:
int get_fd() const; int get_fd() const;
virtual void close_fd();
private: private:
//! The file's open mode. //! The file's open mode.

View File

@ -507,6 +507,15 @@ BFile::get_fd() const
return fFd; return fFd;
} }
// close_fd
/*! Overrides BNode::close_fd() solely for R5 binary compatibility.
*/
void
BFile::close_fd()
{
BNode::close_fd();
}
#ifdef USE_OPENBEOS_NAMESPACE #ifdef USE_OPENBEOS_NAMESPACE
}; // namespace OpenBeOS }; // namespace OpenBeOS