From 40277841cc7f628326c8c19d5632f252da1c5a80 Mon Sep 17 00:00:00 2001 From: Marcus Holland-Moritz Date: Sun, 16 Mar 2025 16:58:46 +0100 Subject: [PATCH] refactor(logger): use `std::conditional_t` over `std::conditional` --- include/dwarfs/logger.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/dwarfs/logger.h b/include/dwarfs/logger.h index 53ecc484..a60d6cc0 100644 --- a/include/dwarfs/logger.h +++ b/include/dwarfs/logger.h @@ -195,13 +195,12 @@ class no_log_entry { namespace detail { template -using logger_type = typename std::conditional::type; +using logger_type = + std::conditional_t; template using timed_logger_type = - typename std::conditional::type; + std::conditional_t; } // namespace detail template