mbed library sources
Fork of mbed-src by
Diff: api/Stream.h
- Revision:
- 212:34d62c0b2af6
- Parent:
- 13:0645d8841f51
- Child:
- 431:255afbe6270c
diff -r fb8edfff6ae1 -r 34d62c0b2af6 api/Stream.h --- a/api/Stream.h Sun May 25 08:00:07 2014 +0100 +++ b/api/Stream.h Mon May 26 18:15:07 2014 +0100 @@ -49,6 +49,11 @@ virtual int _getc() = 0; std::FILE *_file; + + /* disallow copy constructor and assignment operators */ +private: + Stream(const Stream&); + Stream & operator = (const Stream&); }; } // namespace mbed