From a324e341ef8097d6d93731b592701d43bb5fb5d0 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 1 Oct 2024 10:14:34 +0200 Subject: Enable modernize-* checks. --- src/other_tools/just_mr/launch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/just_mr/launch.cpp') diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp index ccebd966..16429864 100644 --- a/src/other_tools/just_mr/launch.cpp +++ b/src/other_tools/just_mr/launch.cpp @@ -138,13 +138,13 @@ auto CallJust(std::optional const& config_file, if (log_args.log_limit and *log_args.log_limit != kDefaultLogLevel) { cmd.emplace_back("--log-limit"); cmd.emplace_back( - std::to_string(static_cast::type>( + std::to_string(static_cast>( *log_args.log_limit))); } if (log_args.restrict_stderr_log_limit) { cmd.emplace_back("--restrict-stderr-log-limit"); cmd.emplace_back( - std::to_string(static_cast::type>( + std::to_string(static_cast>( *log_args.restrict_stderr_log_limit))); } if (log_args.plain_log) { -- cgit v1.2.3