The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
170:e95d10626187
Parent:
165:d1b4690b3f8b
Child:
171:3a7713b1edbc
--- a/platform/NonCopyable.h	Fri Jun 22 15:38:59 2018 +0100
+++ b/platform/NonCopyable.h	Thu Sep 06 13:39:34 2018 +0100
@@ -169,7 +169,7 @@
      * Copy of non copyable resources can lead to resource leak and random error.
      */
     MBED_DEPRECATED("Invalid copy construction of a NonCopyable resource.")
-    NonCopyable(const NonCopyable&)
+    NonCopyable(const NonCopyable &)
     {
         debug("Invalid copy construction of a NonCopyable resource: %s\r\n", MBED_PRETTY_FUNCTION);
     }
@@ -184,7 +184,7 @@
      * Copy of non copyable resources can lead to resource leak and random error.
      */
     MBED_DEPRECATED("Invalid copy assignment of a NonCopyable resource.")
-    NonCopyable& operator=(const NonCopyable&)
+    NonCopyable &operator=(const NonCopyable &)
     {
         debug("Invalid copy assignment of a NonCopyable resource: %s\r\n", MBED_PRETTY_FUNCTION);
         return *this;
@@ -196,13 +196,13 @@
      * Declare copy constructor as private, any attempt to copy construct
      * a NonCopyable will fail at compile time.
      */
-    NonCopyable(const NonCopyable&);
+    NonCopyable(const NonCopyable &);
 
     /**
      * Declare copy assignment operator as private, any attempt to copy assign
      * a NonCopyable will fail at compile time.
      */
-    NonCopyable& operator=(const NonCopyable&);
+    NonCopyable &operator=(const NonCopyable &);
 #endif
 };