summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/launch.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-01 10:14:34 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 13:37:39 +0200
commita324e341ef8097d6d93731b592701d43bb5fb5d0 (patch)
tree97f68c73f22788cc7d3d6e5ae6411f073e647308 /src/other_tools/just_mr/launch.cpp
parent5eb83b81a26e9a321ff8d68506905eaa4f15acd7 (diff)
downloadjustbuild-a324e341ef8097d6d93731b592701d43bb5fb5d0.tar.gz
Enable modernize-* checks.
Diffstat (limited to 'src/other_tools/just_mr/launch.cpp')
-rw-r--r--src/other_tools/just_mr/launch.cpp4
1 files changed, 2 insertions, 2 deletions
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<std::filesystem::path> 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<std::underlying_type<LogLevel>::type>(
+ std::to_string(static_cast<std::underlying_type_t<LogLevel>>(
*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<std::underlying_type<LogLevel>::type>(
+ std::to_string(static_cast<std::underlying_type_t<LogLevel>>(
*log_args.restrict_stderr_log_limit)));
}
if (log_args.plain_log) {