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: drivers/Timeout.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
- Child:
- 174:b96e65c34a4d
diff -r e84263d55307 -r 9672193075cf drivers/Timeout.h --- a/drivers/Timeout.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/Timeout.h Thu Jul 06 15:42:05 2017 +0100 @@ -17,6 +17,7 @@ #define MBED_TIMEOUT_H #include "drivers/Ticker.h" +#include "platform/NonCopyable.h" namespace mbed { /** \addtogroup drivers */ @@ -52,7 +53,7 @@ * @endcode * @ingroup drivers */ -class Timeout : public Ticker { +class Timeout : public Ticker, private NonCopyable<Timeout> { protected: virtual void handler();