mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: platform/FileHandle.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
- Child:
- 178:79309dc6340a
diff -r e84263d55307 -r 9672193075cf platform/FileHandle.h --- a/platform/FileHandle.h Wed Jun 21 17:46:44 2017 +0100 +++ b/platform/FileHandle.h Thu Jul 06 15:42:05 2017 +0100 @@ -22,6 +22,7 @@ #include "Callback.h" #include "platform/mbed_poll.h" #include "platform/platform.h" +#include "platform/NonCopyable.h" namespace mbed { /** \addtogroup platform */ @@ -37,7 +38,7 @@ * @note Synchronization level: Set by subclass * @ingroup platform */ -class FileHandle { +class FileHandle : private NonCopyable<FileHandle> { public: virtual ~FileHandle() {}