Lancaster University's (short term!) clone of mbed-src for micro:bit. This is a copy of the github branch https://github.com/lancaster-university/mbed-classic
Fork of mbed-src by
Diff: api/BusOut.h
- Revision:
- 212:34d62c0b2af6
- Parent:
- 13:0645d8841f51
- Child:
- 455:8bc3a354916d
diff -r fb8edfff6ae1 -r 34d62c0b2af6 api/BusOut.h --- a/api/BusOut.h Sun May 25 08:00:07 2014 +0100 +++ b/api/BusOut.h Mon May 26 18:15:07 2014 +0100 @@ -69,6 +69,11 @@ protected: DigitalOut* _pin[16]; + + /* disallow copy constructor and assignment operators */ +private: + BusOut(const BusOut&); + BusOut & operator = (const BusOut&); }; } // namespace mbed