From 1a2bac60ed09f3d349b85afddf3504a7417722ac Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 22 Oct 2019 13:21:09 +0200 Subject: [PATCH] PerfProfilerFlameGraphModel: Make Payload::m_numSamples mutable This is necessary to make the class movable. Change-Id: I85decaa9f5c520aa3272a018ceca3aba642e1565 Reviewed-by: Eike Ziller --- src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp b/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp index d9f4cc30528..14716e4a29e 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 ThreadResourceCounter;