2
0
mirror of https://github.com/boostorg/pfr.git synced 2026-01-19 04:22:13 +00:00

Fix pragma directive (fixes #175)

This commit is contained in:
Antony Polukhin
2024-09-13 12:50:43 +03:00
parent 3d090e7c6f
commit 6591a8609d

View File

@@ -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