Forked.

Fork of mbed-dev by mbed official

Revision:
168:9672193075cf
Parent:
167:e84263d55307
diff -r e84263d55307 -r 9672193075cf drivers/FlashIAP.h
--- a/drivers/FlashIAP.h	Wed Jun 21 17:46:44 2017 +0100
+++ b/drivers/FlashIAP.h	Thu Jul 06 15:42:05 2017 +0100
@@ -27,6 +27,7 @@
 #include "flash_api.h"
 #include "platform/SingletonPtr.h"
 #include "platform/PlatformMutex.h"
+#include "platform/NonCopyable.h"
 
 namespace mbed {
 
@@ -37,7 +38,7 @@
  * @note Synchronization level: Thread safe
  * @ingroup drivers
  */
-class FlashIAP {
+class FlashIAP : private NonCopyable<FlashIAP> {
 public:
     FlashIAP();
     ~FlashIAP();