aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfprofiler
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2019-10-22 13:21:09 +0200
committerUlf Hermann <ulf.hermann@qt.io>2019-10-22 11:42:19 +0000
commit1a2bac60ed09f3d349b85afddf3504a7417722ac (patch)
tree7ba5a706efb51862d206ba13290229aeaa441fa1 /src/plugins/perfprofiler
parent734b6a5fdddbeb1090c316ee6acd291f54c10811 (diff)
PerfProfilerFlameGraphModel: Make Payload::m_numSamples mutable
This is necessary to make the class movable. Change-Id: I85decaa9f5c520aa3272a018ceca3aba642e1565 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/perfprofiler')
-rw-r--r--src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp b/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
index d9f4cc3052..14716e4a29 100644
--- a/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
+++ b/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
@@ -57,7 +57,7 @@ public:
private:
const PerfProfilerFlameGraphData *m_parent;
PerfProfilerFlameGraphModel::Data *m_data;
- const int m_numSamples;
+ int m_numSamples;
};
typedef PerfResourceCounter<Payload> ThreadResourceCounter;