From 6591a8609d02ac74169976f02489ea5026958a46 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Fri, 13 Sep 2024 12:50:43 +0300 Subject: [PATCH] Fix pragma directive (fixes #175) --- include/boost/pfr/detail/fake_object.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/pfr/detail/fake_object.hpp b/include/boost/pfr/detail/fake_object.hpp index df4bbd41..277f8de3 100644 --- a/include/boost/pfr/detail/fake_object.hpp +++ b/include/boost/pfr/detail/fake_object.hpp @@ -1,4 +1,5 @@ // Copyright (c) 2023 Bela Schaum, X-Ryl669, Denis Mikhailov. +// Copyright (c) 2024-2024 Antony Polukhin // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -49,9 +50,10 @@ constexpr const T& fake_object() noexcept { }}} // namespace boost::pfr::detail #ifdef __clang__ -# pragma clang diagnostic push +# pragma clang diagnostic pop #elif defined(__GNUC__) # pragma GCC diagnostic pop #endif + #endif // BOOST_PFR_DETAIL_FAKE_OBJECT_HPP