Merge pull request #4466 from geky/cleanup

Clean up dead classes in retarget layer
pull/4470/head
Martin Kojtal 2017-06-09 15:06:18 +01:00 committed by GitHub
commit a59a319483
2 changed files with 0 additions and 20 deletions

View File

@ -44,7 +44,6 @@ public:
// Inherited functions with name conflicts
using FileSystemHandle::open;
using FileSystemHandle::open;
/** Open a file on the filesystem
*

View File

@ -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()