We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad60fd4 commit d4531beCopy full SHA for d4531be
exporters/memory/src/in_memory_metric_data.cc
@@ -31,6 +31,7 @@ void SimpleAggregateInMemoryMetricData::Add(std::unique_ptr<ResourceMetrics> res
31
const auto &metric = m.instrument_descriptor.name_;
32
for (const auto &pda : m.point_data_attr_)
33
{
34
+ // NOTE: Explicit type conversion added for C++11 (gcc 4.8)
35
data_[std::tuple<std::string, std::string>{scope, metric}].insert(
36
{pda.attributes, pda.point_data});
37
}
@@ -42,6 +43,7 @@ const SimpleAggregateInMemoryMetricData::AttributeToPoint &SimpleAggregateInMemo
42
43
const std::string &scope,
44
const std::string &metric)
45
46
47
return data_[std::tuple<std::string, std::string>{scope, metric}];
48
49
0 commit comments