Remove -Wconversion warnings

This commit is contained in:
Ion Gaztañaga committed 2021-10-05 23:30:54 +02:00
1 parent 6ab49a8d82
commit 122a84b366
9 files changed
+89 -59

No files matched your search

+3 -1
View File
@@ -31,7 +31,9 @@ using boost::move_detail::nanosecond_type;
void print_stats(const char *str, boost::ulong_long_type element_count)
{
std::printf("%sCmp:%8.04f Cpy:%9.04f\n", str, double(order_perf_type::num_compare)/element_count, double(order_perf_type::num_copy)/element_count );
std::printf( "%sCmp:%8.04f Cpy:%9.04f\n", str
, double(order_perf_type::num_compare)/double(element_count)
, double(order_perf_type::num_copy)/double(element_count));
}
#include <boost/move/algo/adaptive_merge.hpp>