protect using with macro

pull/8329/head
paul-szczepanek-arm 2018-10-26 08:41:58 +01:00
parent 05a4337490
commit e4f3768c6c
1 changed files with 2 additions and 0 deletions

View File

@ -289,6 +289,8 @@ bool operator!= (U lhs, const SharedPtr<T> &rhs)
} /* namespace mbed */
#ifndef MBED_NO_GLOBAL_USING_DIRECTIVE
using mbed::SharedPtr;
#endif
#endif // __SHAREDPTR_H__