Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: drivers/Ethernet.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
--- a/drivers/Ethernet.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/Ethernet.h Thu Jul 06 15:42:05 2017 +0100 @@ -17,6 +17,7 @@ #define MBED_ETHERNET_H #include "platform/platform.h" +#include "platform/NonCopyable.h" #if defined (DEVICE_ETHERNET) || defined(DOXYGEN_ONLY) @@ -54,7 +55,7 @@ * @endcode * @ingroup drivers */ -class Ethernet { +class Ethernet : private NonCopyable<Ethernet> { public: