Since we're testing deduction guides involving a type whose concrete
representation is unknown, this warning provides no value.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
// Test deduction guides:
{
{ ceph::util::random_number_generator rng(1234); }
+#pragma clang diagnostic push
+ // Turn this warning off, since we're checking that the deduction
+ // guide works. (And we don't know what the seed type will
+ // actually be.)
+#pragma clang diagnostic ignored "-Wliteral-conversion"
{ ceph::util::random_number_generator rng(1234.1234); }
+#pragma clang diagnostic pop
{
int x = 1234;