Skip to content

Commit

Permalink
Suppress GCC warning
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Dec 22, 2023
1 parent 54469a8 commit 8ed390c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/rfl/internal/get_field_names.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
#include "rfl/internal/num_fields.hpp"
#include "rfl/internal/to_ptr_tuple.hpp"

#if __GNUC__
#ifndef __clang__
#pragma GCC system_header
#endif
#endif

namespace rfl {
namespace internal {

Expand Down
6 changes: 6 additions & 0 deletions include/rfl/internal/has_n_fields.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
#include <type_traits>
#include <utility>

#if __GNUC__
#ifndef __clang__
#pragma GCC system_header
#endif
#endif

namespace rfl {
namespace internal {

Expand Down

0 comments on commit 8ed390c

Please sign in to comment.