SHIO

Fork of mbed-stm32l0/l1-src by lzbp li

Revision:
212:34d62c0b2af6
Parent:
13:0645d8841f51
Child:
431:255afbe6270c
--- 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