mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: drivers/Timeout.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
- Child:
- 174:b96e65c34a4d
--- 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();