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.
Dependents: Blynk_Example_WIZwiki-W7500
Fork of Blynk by
Diff: Blynk/BlynkTemplates.h
- Revision:
- 9:7369ec77a3ea
- Parent:
- 3:31e4b850b126
--- a/Blynk/BlynkTemplates.h Wed Oct 12 10:38:37 2016 +0300
+++ b/Blynk/BlynkTemplates.h Thu Jan 05 14:55:36 2017 +0200
@@ -3,8 +3,11 @@
protected:
BlynkStackOnly() {}
~BlynkStackOnly() {}
+
private:
+ /// @brief Declared as private to prevent usage of dynamic memory
void* operator new(size_t size);
+ /// @brief Declared as private to prevent usage of dynamic memory
void operator delete(void *p);
};
@@ -22,7 +25,8 @@
};
template<typename T>
-class BlynkSingleton: public BlynkNonCopyable
+class BlynkSingleton
+ : public BlynkNonCopyable
{
public:
/** @brief Returns the instance of the singleton type
