mbed-os5 only for TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Revision:
1:9db0e321a9f4
Parent:
0:5b88d5760320
--- a/platform/SharedPtr.h	Tue Dec 17 23:23:45 2019 +0000
+++ b/platform/SharedPtr.h	Tue Dec 31 06:02:27 2019 +0000
@@ -76,6 +76,13 @@
     }
 
     /**
+     * @brief Create empty SharedPtr not pointing to anything.
+     */
+    constexpr SharedPtr(std::nullptr_t) : SharedPtr()
+    {
+    }
+
+    /**
      * @brief Create new SharedPtr
      * @param ptr Pointer to take control over
      */