mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: platform/FileBase.h
- Revision:
- 188:bcfe06ba3d64
- Parent:
- 187:0387e8f68319
- Child:
- 189:f392fc9709a3
--- a/platform/FileBase.h Thu Sep 06 13:40:20 2018 +0100 +++ b/platform/FileBase.h Thu Nov 08 11:46:34 2018 +0000 @@ -18,9 +18,6 @@ typedef int FILEHANDLE; -#include <cstdio> -#include <cstring> - #include "platform/platform.h" #include "platform/SingletonPtr.h" #include "platform/PlatformMutex.h" @@ -55,9 +52,11 @@ static FileBase *get(int n); - /* disallow copy constructor and assignment operators */ + void set_as_default(); + private: static FileBase *_head; + static FileBase *_default; static SingletonPtr<PlatformMutex> _mutex; FileBase *_next;