mbed library sources

Dependents:   bare

Fork of mbed-src by mbed official

Revision:
15:4892fe388435
Parent:
13:0645d8841f51
diff -r 096882eb0961 -r 4892fe388435 common/FunctionPointer.cpp
--- a/common/FunctionPointer.cpp	Mon Aug 05 14:54:27 2013 +0000
+++ b/common/FunctionPointer.cpp	Wed Aug 07 16:43:59 2013 +0300
@@ -34,4 +34,10 @@
     }
 }
 
+#ifdef MBED_OPERATORS
+void FunctionPointer::operator ()(void) {
+    call();
+}
+#endif
+
 } // namespace mbed