Add missing shared::make_shared<T>()

This commit is contained in:
John Hood
2017-08-01 14:16:56 -04:00
parent 4902970486
commit a3b05e69b6
+6
View File
@@ -52,6 +52,12 @@ namespace shared {
using std::tr1::shared_ptr;
// make_shared emulation.
template<typename Tp>
inline shared_ptr<Tp>
make_shared()
{
return shared_ptr<Tp>(new Tp());
}
template<typename Tp, typename A1>
inline shared_ptr<Tp>
make_shared(const A1& a1)