Skip to content

Commit

Permalink
Fix pragma directive (fixes #175)
Browse files Browse the repository at this point in the history
  • Loading branch information
apolukhin committed Sep 13, 2024
1 parent 3d090e7 commit 6591a86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/boost/pfr/detail/fake_object.hpp
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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

0 comments on commit 6591a86

Please sign in to comment.