The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: drivers/FlashIAP.h
- Revision:
- 146:22da6e220af6
- Parent:
- 145:64910690c574
- Child:
- 152:235179ab3f27
diff -r 64910690c574 -r 22da6e220af6 drivers/FlashIAP.h --- a/drivers/FlashIAP.h Wed Jun 21 17:31:38 2017 +0100 +++ b/drivers/FlashIAP.h Thu Jul 06 15:30:22 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();