mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-29 20:37:13 +02:00
Add initializers to eq and lt
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::owner_equal_to<> const eq;
|
||||
boost::owner_equal_to<> const eq = {};
|
||||
|
||||
{
|
||||
boost::shared_ptr<int> p1( new int );
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::owner_equal_to<> const eq;
|
||||
boost::owner_equal_to<> const eq = {};
|
||||
|
||||
{
|
||||
boost::local_shared_ptr<int> p1( new int );
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
boost::owner_less<> const lt;
|
||||
boost::owner_less<> const lt = {};
|
||||
|
||||
{
|
||||
boost::local_shared_ptr<int> p1( new int );
|
||||
|
Reference in New Issue
Block a user