mbed library sources, mbed-dev only for TYBLE16
Fork of mbed-dev by
Please refer flowing link.
/users/kenjiArai/notebook/tyble16-module-will-become-a-mbed-family--mbedliza/
Diff: platform/FileBase.h
- 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