forked from boostorg/smart_ptr
Add initializers to eq and lt
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::owner_equal_to<> const eq;
|
boost::owner_equal_to<> const eq = {};
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::shared_ptr<int> p1( new int );
|
boost::shared_ptr<int> p1( new int );
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::owner_equal_to<> const eq;
|
boost::owner_equal_to<> const eq = {};
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::local_shared_ptr<int> p1( new int );
|
boost::local_shared_ptr<int> p1( new int );
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::owner_less<> const lt;
|
boost::owner_less<> const lt = {};
|
||||||
|
|
||||||
{
|
{
|
||||||
boost::local_shared_ptr<int> p1( new int );
|
boost::local_shared_ptr<int> p1( new int );
|
||||||
|
Reference in New Issue
Block a user