Skip to content

Commit 4d437ea

Browse files
authored
Merge pull request #47590 from rsreds/fix-edmEventSize
Fix missing type declaration in EdmEventSize
2 parents f8a2e98 + 512050c commit 4d437ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PerfTools/EdmEvent/src/EdmEventSize.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ namespace perftools {
319319
co << "\"total\": {\n";
320320
co << "\"events\": " << m_nEvents << ",\n";
321321
auto [total_uncompressed, total_compressed] = std::accumulate(
322-
m_records.begin(), m_records.end(), std::make_pair<size_t>(0, 0), [](auto sum, Record const& leaf) {
322+
m_records.begin(), m_records.end(), std::make_pair<size_t, size_t>(0, 0), [](auto sum, Record const& leaf) {
323323
return std::make_pair(sum.first + leaf.uncompr_size, sum.second + leaf.compr_size);
324324
});
325325
co << "\"size_uncompressed\": " << total_uncompressed << ",\n";

0 commit comments

Comments
 (0)