From c7c0eacb74ff23dc48f90839457116d50d948b19 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 1 Jun 2020 15:08:53 +0300 Subject: [PATCH] Add initializers to eq and lt --- test/owner_equal_to_test.cpp | 2 +- test/owner_equal_to_test2.cpp | 2 +- test/owner_less_test2.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/owner_equal_to_test.cpp b/test/owner_equal_to_test.cpp index 5bce0d2..3fe12a6 100644 --- a/test/owner_equal_to_test.cpp +++ b/test/owner_equal_to_test.cpp @@ -9,7 +9,7 @@ int main() { - boost::owner_equal_to<> const eq; + boost::owner_equal_to<> const eq = {}; { boost::shared_ptr p1( new int ); diff --git a/test/owner_equal_to_test2.cpp b/test/owner_equal_to_test2.cpp index 4a8d629..292d593 100644 --- a/test/owner_equal_to_test2.cpp +++ b/test/owner_equal_to_test2.cpp @@ -8,7 +8,7 @@ int main() { - boost::owner_equal_to<> const eq; + boost::owner_equal_to<> const eq = {}; { boost::local_shared_ptr p1( new int ); diff --git a/test/owner_less_test2.cpp b/test/owner_less_test2.cpp index b4ff38d..f5a7fb4 100644 --- a/test/owner_less_test2.cpp +++ b/test/owner_less_test2.cpp @@ -8,7 +8,7 @@ int main() { - boost::owner_less<> const lt; + boost::owner_less<> const lt = {}; { boost::local_shared_ptr p1( new int );