mbed library sources. Supersedes mbed-src.

Fork of mbed-dev by mbed official

Revision:
168:9672193075cf
Parent:
167:e84263d55307
Child:
178:79309dc6340a
diff -r e84263d55307 -r 9672193075cf platform/FileLike.h
--- a/platform/FileLike.h	Wed Jun 21 17:46:44 2017 +0100
+++ b/platform/FileLike.h	Thu Jul 06 15:42:05 2017 +0100
@@ -19,6 +19,7 @@
 #include "platform/mbed_toolchain.h"
 #include "platform/FileBase.h"
 #include "platform/FileHandle.h"
+#include "platform/NonCopyable.h"
 
 namespace mbed {
 /** \addtogroup platform */
@@ -31,7 +32,7 @@
  *  @note Synchronization level: Set by subclass
  *  @ingroup platform
  */
-class FileLike : public FileHandle, public FileBase {
+class FileLike : public FileHandle, public FileBase, private NonCopyable<FileLike> {
 public:
     /** Constructor FileLike
      *