mbed
Fork of mbed-dev by
Diff: drivers/InterruptIn.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
diff -r e84263d55307 -r 9672193075cf drivers/InterruptIn.h --- a/drivers/InterruptIn.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/InterruptIn.h Thu Jul 06 15:42:05 2017 +0100 @@ -25,6 +25,7 @@ #include "platform/Callback.h" #include "platform/mbed_critical.h" #include "platform/mbed_toolchain.h" +#include "platform/NonCopyable.h" namespace mbed { /** \addtogroup drivers */ @@ -56,7 +57,7 @@ * @endcode * @ingroup drivers */ -class InterruptIn { +class InterruptIn : private NonCopyable<InterruptIn> { public: