test

Fork of mbed-dev by mbed official

Revision:
169:9672193075cf
Parent:
168:e84263d55307
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
      *