Skip to content

Commit

Permalink
#2066: Supress warning for unused variable in staticAssertCorrectness
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Jan 16, 2023
1 parent c235395 commit 263fe0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/utils/adt/union.h
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ struct AlignedCharUnion : UnionCopy<T, void, Ts...> {

template <typename U>
void staticAssertCorrectness() const {
detail::AllUnique<T, Ts...>{};
(void) detail::AllUnique<T, Ts...>{};
static_assert(
detail::MustBe<U, T, Ts...>::is_same, "Must be the valid type in union"
);
Expand Down

0 comments on commit 263fe0c

Please sign in to comment.