Skip to content

Commit

Permalink
XLC bug workaround (#4805)
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Dyachenko authored and GitHub Enterprise committed Jul 1, 2024
1 parent aba8bec commit f57b55f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions groups/bdl/bdlm/bdlm_metricsregistry.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,15 @@ int TestMetricsAdapter::size() const
return static_cast<int>(d_descriptors.size());
}

template <class Callback>
template <class t_CALLBACK>
bool TestMetricsAdapter::contains(const bdlm::MetricDescriptor& descriptor)
const
{
for (Map::const_iterator it = d_descriptors.begin();
it != d_descriptors.end();
++it) {
if (it->second.first == descriptor
&& it->second.second.target<Callback>()) {
&& it->second.second.target<t_CALLBACK>()) {
return true; // RETURN
}
}
Expand Down

0 comments on commit f57b55f

Please sign in to comment.