mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix warnings created by other warnings fix
This commit is contained in:
@@ -639,7 +639,7 @@ template <typename A>
|
|||||||
constexpr bool is_int_or_enum_v = std::is_enum<A>::value || std::is_integral<A>::value;
|
constexpr bool is_int_or_enum_v = std::is_enum<A>::value || std::is_integral<A>::value;
|
||||||
|
|
||||||
template <typename A, typename B>
|
template <typename A, typename B>
|
||||||
inline constexpr void plain_enum_asserts(A a, B b) {
|
inline constexpr void plain_enum_asserts(A, B) {
|
||||||
static_assert(is_int_or_enum_v<A>, "Argument a must be an integer or enum");
|
static_assert(is_int_or_enum_v<A>, "Argument a must be an integer or enum");
|
||||||
static_assert(is_int_or_enum_v<B>, "Argument b must be an integer or enum");
|
static_assert(is_int_or_enum_v<B>, "Argument b must be an integer or enum");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user