diff --git a/projects/rocprofiler/src/core/context.h b/projects/rocprofiler/src/core/context.h index 9b9a59cad9..59e24ed70c 100644 --- a/projects/rocprofiler/src/core/context.h +++ b/projects/rocprofiler/src/core/context.h @@ -460,7 +460,7 @@ class Context { // Profile group set std::vector set_; // Metrics dictionary - MetricsDict* metrics_; + const MetricsDict* metrics_; // Groups map std::map groups_map_; // Info map