Skip to content

Commit

Permalink
#1955: Suppress spurious warning about method declared but not used
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilMiller committed Sep 14, 2022
1 parent 5387ede commit 06a69b4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/unit/lb/test_lb_data_comm.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,17 @@ struct ReduceMsg : SerializeRequired<
)
{ }

#if defined(__INTEL_COMPILER)
#pragma warning(push)
#pragma warning(disable : 177)
#endif
template <typename SerializerT>
void serialize(SerializerT& s) {
MessageParentType::serialize(s);
}
#if defined(__INTEL_COMPILER)
#pragma warning(pop)
#endif
};
struct ColProxyMsg : vt::Message {
using ProxyType = vt::CollectionProxy<MyCol>;
Expand Down

0 comments on commit 06a69b4

Please sign in to comment.