t

Fork of mbed-dev by mbed official

Revision:
169:9672193075cf
Parent:
168:e84263d55307
--- a/platform/DirHandle.h	Wed Jun 21 17:46:44 2017 +0100
+++ b/platform/DirHandle.h	Thu Jul 06 15:42:05 2017 +0100
@@ -19,6 +19,7 @@
 #include <stdint.h>
 #include "platform/platform.h"
 #include "platform/FileHandle.h"
+#include "platform/NonCopyable.h"
 
 namespace mbed {
 /** \addtogroup platform */
@@ -41,7 +42,7 @@
  *  @note Synchronization level: Set by subclass
  *  @ingroup platform
  */
-class DirHandle {
+class DirHandle : private NonCopyable<DirHandle> {
 public:
     virtual ~DirHandle() {}