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.
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