mbed
Fork of mbed-dev by
Diff: drivers/SPISlave.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
diff -r e84263d55307 -r 9672193075cf drivers/SPISlave.h --- a/drivers/SPISlave.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/SPISlave.h Thu Jul 06 15:42:05 2017 +0100 @@ -17,6 +17,7 @@ #define MBED_SPISLAVE_H #include "platform/platform.h" +#include "platform/NonCopyable.h" #if defined (DEVICE_SPISLAVE) || defined(DOXYGEN_ONLY) @@ -52,7 +53,7 @@ * @endcode * @ingroup drivers */ -class SPISlave { +class SPISlave : private NonCopyable<SPISlave> { public: