job/queue: ignore enum-constexpr-conversion for clang-16

This commit is contained in:
Danny Robson 2023-05-15 10:30:50 +10:00
parent 161f84ef53
commit f7ac00a7ce

View File

@ -12,6 +12,8 @@
#include <string>
#include <stdexcept>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wenum-constexpr-conversion"
namespace cruft::introspection {
namespace detail {
@ -180,3 +182,5 @@ namespace cruft::introspection {
return detail::helper<EnumT>::to (val);
}
}
#pragma GCC diagnostic pop