fix(clang-tidy): modernize-type-traits (#6269)

This commit is contained in:
pajlada
2025-06-15 00:52:21 +02:00
committed by GitHub
parent 6398570bcc
commit 2b89642490
4 changed files with 15 additions and 17 deletions
+1 -1
View File
@@ -144,7 +144,7 @@ public:
template <typename T, typename... Args>
T *emplace(Args &&...args)
{
static_assert(std::is_base_of<MessageElement, T>::value,
static_assert(std::is_base_of_v<MessageElement, T>,
"T must extend MessageElement");
auto unique = std::make_unique<T>(std::forward<Args>(args)...);