Skip to content

Commit e662e55

Browse files
Initialize PmuCounter explicitly
1 parent 4d9747b commit e662e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/arm/pmu/pmu_profiler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ PmuProfiler::PmuProfiler(const CpuCounterSet &enabled_counters) :
4848
{
4949
try
5050
{
51-
auto pmu_counter = pmu_counters_.emplace(counter, pmu_config->second);
51+
auto pmu_counter = pmu_counters_.emplace(counter, PmuCounter{pmu_config->second});
5252
pmu_counters_[counter].get_value<double>();
5353

5454
// PMU counter is created and can retrieve values

0 commit comments

Comments
 (0)