mirror of https://github.com/ARMmbed/mbed-os.git
fix missing namespace mbed
parent
1af1a4a443
commit
3a408eb85a
|
@ -24,6 +24,8 @@
|
||||||
|
|
||||||
#include "platform/mbed_critical.h"
|
#include "platform/mbed_critical.h"
|
||||||
|
|
||||||
|
namespace mbed {
|
||||||
|
|
||||||
/** Shared pointer class.
|
/** Shared pointer class.
|
||||||
*
|
*
|
||||||
* A shared pointer is a "smart" pointer that retains ownership of an object using
|
* A shared pointer is a "smart" pointer that retains ownership of an object using
|
||||||
|
@ -285,4 +287,6 @@ bool operator!= (U lhs, const SharedPtr<T> &rhs)
|
||||||
return ((T *) lhs != rhs.get());
|
return ((T *) lhs != rhs.get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} /* namespace mbed */
|
||||||
|
|
||||||
#endif // __SHAREDPTR_H__
|
#endif // __SHAREDPTR_H__
|
||||||
|
|
Loading…
Reference in New Issue