Skip to content

Commit f71727a

Browse files
committed
cc build: fix userver grpc benchmarks build on GCC
commit_hash:bca51a230df8ef546199b79b066e89603d9ced74
1 parent c416bde commit f71727a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

grpc/src/ugrpc/server/middlewares/log/middleware.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ struct Settings final {
3737
/// Local log level of the server span
3838
/// It applies to logs in user-provided handler
3939
/// @ref tracing::Span::SetLocalLogLevel
40-
std::optional<logging::Level> local_log_level;
40+
std::optional<logging::Level> local_log_level{};
4141

4242
/// map of "status_code": log_level items to override span log level for specific status codes
4343
/// see @ref ugrpc::kStatusCodesMap for available statuses
44-
boost::container::flat_map<grpc::StatusCode, logging::Level> status_codes_log_level;
44+
boost::container::flat_map<grpc::StatusCode, logging::Level> status_codes_log_level{};
4545
};
4646

4747
class Middleware final : public MiddlewareBase {

0 commit comments

Comments
 (0)