Add initializers to eq and lt

This commit is contained in:
Peter Dimov
2020-06-01 15:08:53 +03:00
parent 9ed9f43ca8
commit c7c0eacb74
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 );
+1 -1
View File
@@ -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 );
+1 -1
View File
@@ -8,7 +8,7 @@
int main()
{
boost::owner_less<> const lt;
boost::owner_less<> const lt = {};
{
boost::local_shared_ptr<int> p1( new int );