Add initializers to eq and lt

This commit is contained in:
Peter Dimov committed 2020-06-01 15:08:53 +03:00
1 parent 9ed9f43ca8
commit c7c0eacb74
3 files changed
+3 -3

No files matched your search

+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 );