Skip to content

Commit 6f3f945

Browse files
author
ivan-skryabin
committed
fix grpc: fix build with old fmt versions
commit_hash:53340da4b5ad583ea12569b1e8f13842bdb51b59
1 parent ed6470e commit 6f3f945

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

grpc/src/ugrpc/client/impl/client_qos_errors_reporter.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#include <userver/ugrpc/client/impl/client_qos_errors_reporter.hpp>
22

3+
#include <boost/algorithm/string.hpp>
34
#include <boost/range/adaptor/transformed.hpp>
45
#include <boost/range/irange.hpp>
56

@@ -50,8 +51,13 @@ void ClientQosErrorsReporter::ValidateAndReportClientQosErrors(
5051
method_path,
5152
config_name,
5253
metadata.service_full_name,
53-
boost::irange(static_cast<std::size_t>(0), GetMethodsCount(metadata)) |
54-
boost::adaptors::transformed([&](std::size_t i) { return GetMethodFullName(metadata, i); })
54+
boost::algorithm::join(
55+
boost::copy_range<std::vector<std::string>>(
56+
boost::irange(static_cast<std::size_t>(0), GetMethodsCount(metadata)) |
57+
boost::adaptors::transformed([&](std::size_t i) { return GetMethodFullName(metadata, i); })
58+
),
59+
", "
60+
)
5561
);
5662
} else {
5763
LOG_WARNING(

0 commit comments

Comments
 (0)