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/FileBase.h	Wed Jun 21 17:46:44 2017 +0100
+++ b/platform/FileBase.h	Thu Jul 06 15:42:05 2017 +0100
@@ -24,6 +24,7 @@
 #include "platform/platform.h"
 #include "platform/SingletonPtr.h"
 #include "platform/PlatformMutex.h"
+#include "platform/NonCopyable.h"
 
 namespace mbed {
 /** \addtogroup platform */
@@ -39,7 +40,7 @@
  * @class FileBase
  * @ingroup platform
  */
-class FileBase {
+class FileBase : private NonCopyable<FileBase> {
 public:
     FileBase(const char *name, PathType t);
     virtual ~FileBase();
@@ -59,8 +60,6 @@
     FileBase   *_next;
     const char * const _name;
     const PathType _path_type;
-    FileBase(const FileBase&);
-    FileBase & operator = (const FileBase&);
 };
 
 } // namespace mbed