mirror of https://github.com/ARMmbed/mbed-os.git
Cleaned up extra code left over after several different rebases
parent
8d6bc1d47d
commit
5bd070af86
|
@ -44,7 +44,6 @@ public:
|
|||
|
||||
// Inherited functions with name conflicts
|
||||
using FileSystemHandle::open;
|
||||
using FileSystemHandle::open;
|
||||
|
||||
/** Open a file on the filesystem
|
||||
*
|
||||
|
|
|
@ -164,25 +164,6 @@ static inline int openmode_to_posix(int openmode) {
|
|||
return posix;
|
||||
}
|
||||
|
||||
// Internally used file objects with managed memory on close
|
||||
class ManagedFile : public FileHandle {
|
||||
public:
|
||||
virtual int close() {
|
||||
int err = FileHandle::close();
|
||||
delete this;
|
||||
return err;
|
||||
}
|
||||
};
|
||||
|
||||
class ManagedDir : public DirHandle {
|
||||
public:
|
||||
virtual int close() {
|
||||
int err = DirHandle::close();
|
||||
delete this;
|
||||
return err;
|
||||
}
|
||||
};
|
||||
|
||||
/* @brief standard c library fopen() retargeting function.
|
||||
*
|
||||
* This function is invoked by the standard c library retargeting to handle fopen()
|
||||
|
|
Loading…
Reference in New Issue