Skip to content

Commit e4f3768

Browse files
protect using with macro
1 parent 05a4337 commit e4f3768

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform/SharedPtr.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ bool operator!= (U lhs, const SharedPtr<T> &rhs)
289289

290290
} /* namespace mbed */
291291

292+
#ifndef MBED_NO_GLOBAL_USING_DIRECTIVE
292293
using mbed::SharedPtr;
294+
#endif
293295

294296
#endif // __SHAREDPTR_H__

0 commit comments

Comments
 (0)