Skip to content

Commit

Permalink
fixup warning only in gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaim committed Sep 24, 2024
1 parent e2e1edc commit 9e0b82f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions include/sparrow/array/data_type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,6 @@ namespace sparrow
#if defined(__GNUC__)
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wuseless-cast" // We want to be able to cast type aliases to their real types.
#elif defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wuseless-cast" // We want to be able to cast type aliases to their real types.
#endif

/// @returns The provided arrow length value as represented by the native standard size type `std::size_t`.
Expand Down Expand Up @@ -254,8 +251,6 @@ namespace sparrow
}
#if defined(__GNUC__)
# pragma GCC diagnostic pop
#elif defined(__clang__)
# pragma clang diagnostic pop
#endif


Expand Down

0 comments on commit 9e0b82f

Please sign in to comment.