summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/launch.cpp
diff options
context:
space:
mode:
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) {