From bdd3dcf94456441b3bed80859a7cc340aba59620 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 28 Oct 2022 20:04:13 +0300 Subject: [PATCH] Disable -Wunused-private-field in described_class_test.cpp --- test/described_class_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/described_class_test.cpp b/test/described_class_test.cpp index b0d29d7..1d357ee 100644 --- a/test/described_class_test.cpp +++ b/test/described_class_test.cpp @@ -2,6 +2,10 @@ // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt +#if defined(__clang__) +# pragma clang diagnostic ignored "-Wunused-private-field" +#endif + #include #include #include