aboutsummaryrefslogtreecommitdiff
path: root/option.h
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-07-25 23:16:04 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-07-25 23:16:04 +0200
commitaf7a61a5464c266426a20e7dacf6c52bb80b28e9 (patch)
tree2257894c751d29ebf6b2eb1a8d1ec9fcf4c70c62 /option.h
parent792409865b159aaf49e3153a5f6c136f199e70a3 (diff)
downloadcpp-utils-af7a61a5464c266426a20e7dacf6c52bb80b28e9.tar.gz
cpp-utils-af7a61a5464c266426a20e7dacf6c52bb80b28e9.zip
lint: fix lints from newer clang-tidy version
Diffstat (limited to 'option.h')
-rw-r--r--option.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/option.h b/option.h
index a3ad60a..20104d7 100644
--- a/option.h
+++ b/option.h
@@ -15,7 +15,7 @@ constexpr bool is_trivially_destructible_v =
/// Definition of std::enable_if_t for older c++ std versions.
template <bool Cond, typename T = bool>
-using enable_if_t = typename std::enable_if<Cond, T>::type;
+using enable_if_t = std::enable_if_t<Cond, T>;
} // namespace impl
/// The NONE type.