From e4f3768c6cfdc613576fb1b1ee04097d74993371 Mon Sep 17 00:00:00 2001 From: paul-szczepanek-arm <33840200+paul-szczepanek-arm@users.noreply.github.com> Date: Fri, 26 Oct 2018 08:41:58 +0100 Subject: [PATCH] protect using with macro --- platform/SharedPtr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/SharedPtr.h b/platform/SharedPtr.h index 32616a9358..ffa702a45a 100644 --- a/platform/SharedPtr.h +++ b/platform/SharedPtr.h @@ -289,6 +289,8 @@ bool operator!= (U lhs, const SharedPtr &rhs) } /* namespace mbed */ +#ifndef MBED_NO_GLOBAL_USING_DIRECTIVE using mbed::SharedPtr; +#endif #endif // __SHAREDPTR_H__