Forked.
Fork of mbed-dev by
Diff: platform/FileLike.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
--- 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 *