mbed library sources. Supersedes mbed-src.

Dependents:   BREAK_SENSOR_LED

Fork of mbed-dev by mbed official

Revision:
168:9672193075cf
Parent:
167:e84263d55307
Child:
178:79309dc6340a
--- a/platform/LocalFileSystem.h	Wed Jun 21 17:46:44 2017 +0100
+++ b/platform/LocalFileSystem.h	Thu Jul 06 15:42:05 2017 +0100
@@ -22,6 +22,7 @@
 
 #include "platform/FileSystemLike.h"
 #include "platform/PlatformMutex.h"
+#include "platform/NonCopyable.h"
 
 namespace mbed {
 /** \addtogroup platform */
@@ -34,7 +35,7 @@
  * @class LocalFileHandle
  * @ingroup platform
  */
-class LocalFileHandle : public FileHandle {
+class LocalFileHandle : public FileHandle, private NonCopyable<LocalFileHandle> {
 
 public:
     LocalFileHandle(FILEHANDLE fh);
@@ -98,7 +99,7 @@
  *  not exit, you will need to hold down reset on the mbed Microcontroller to be able to see the drive again!
  * @ingroup platform
  */
-class LocalFileSystem : public FileSystemLike {
+class LocalFileSystem : public FileSystemLike, private NonCopyable<LocalFileSystem> {
     // No modifiable state
 
 public: