Maxim Integrated / MaximInterface

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Revision:
5:a8c83a2e6fa4
Parent:
0:f77ad7f72d04
--- a/Links/Sleep.hpp	Fri Jan 19 10:25:02 2018 -0600
+++ b/Links/Sleep.hpp	Wed Jan 23 13:11:04 2019 -0600
@@ -38,10 +38,10 @@
 class Sleep {
 public:
   virtual ~Sleep() {}
-
-  virtual void operator()(int ms) const = 0;
+  virtual void invoke(int ms) const = 0;
+  void operator()(int ms) const { invoke(ms); }
 };
 
 } // namespace MaximInterface
 
-#endif
\ No newline at end of file
+#endif