Skip to content

Commit f57b55f

Browse files
Victor DyachenkoGitHub Enterprise
authored andcommitted
XLC bug workaround (#4805)
1 parent aba8bec commit f57b55f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

groups/bdl/bdlm/bdlm_metricsregistry.t.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,15 +262,15 @@ int TestMetricsAdapter::size() const
262262
return static_cast<int>(d_descriptors.size());
263263
}
264264

265-
template <class Callback>
265+
template <class t_CALLBACK>
266266
bool TestMetricsAdapter::contains(const bdlm::MetricDescriptor& descriptor)
267267
const
268268
{
269269
for (Map::const_iterator it = d_descriptors.begin();
270270
it != d_descriptors.end();
271271
++it) {
272272
if (it->second.first == descriptor
273-
&& it->second.second.target<Callback>()) {
273+
&& it->second.second.target<t_CALLBACK>()) {
274274
return true; // RETURN
275275
}
276276
}

0 commit comments

Comments
 (0)