Use shared_ptr and make_shared in sp_override_test

This commit is contained in:
Peter Dimov
2020-04-14 00:21:02 +03:00
parent 296c203135
commit 7ab4093f46

View File

@ -10,4 +10,9 @@
int main() int main()
{ {
boost::shared_ptr<int> p1( new int );
boost::shared_ptr<int[]> p2( new int[1] );
boost::make_shared<int>();
boost::make_shared<int[]>( 1 );
} }