Skip to content

Commit

Permalink
FS class virtual destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulStoffregen committed Sep 9, 2024
1 parent 4b5097a commit f11c80a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions teensy/FS.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ class FS
{
public:
FS() {}
virtual ~FS() {}
virtual File open(const char *filename, uint8_t mode = FILE_READ) = 0;
virtual bool exists(const char *filepath) = 0;
virtual bool mkdir(const char *filepath) = 0;
Expand Down
1 change: 1 addition & 0 deletions teensy3/FS.h
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ class FS
{
public:
FS() {}
virtual ~FS() {}
virtual File open(const char *filename, uint8_t mode = FILE_READ) = 0;
virtual bool exists(const char *filepath) = 0;
virtual bool mkdir(const char *filepath) = 0;
Expand Down
1 change: 1 addition & 0 deletions teensy4/FS.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ class FS
{
public:
FS() {}
virtual ~FS() {}
virtual File open(const char *filename, uint8_t mode = FILE_READ) = 0;
virtual bool exists(const char *filepath) = 0;
virtual bool mkdir(const char *filepath) = 0;
Expand Down

0 comments on commit f11c80a

Please sign in to comment.