Valgrind: Modernize

modernize-*

Change-Id: I6db60dce78cf2575e36caa597b1f095adba34fd9
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Alessandro Portale
2018-12-10 08:11:18 +01:00
parent 390a227df6
commit 00ec6dfb5d
53 changed files with 182 additions and 294 deletions

View File

@@ -38,24 +38,14 @@ namespace Callgrind {
class FunctionCall::Private
{
public:
explicit Private();
const Function *m_callee;
const Function *m_caller;
quint64 m_calls;
quint64 m_totalInclusiveCost;
const Function *m_callee = nullptr;
const Function *m_caller = nullptr;
quint64 m_calls = 0;
quint64 m_totalInclusiveCost = 0;
QVector<quint64> m_destinations;
QVector<quint64> m_costs;
};
FunctionCall::Private::Private()
: m_callee(0)
, m_caller(0)
, m_calls(0)
, m_totalInclusiveCost(0)
{
}
//BEGIN FunctionCall
FunctionCall::FunctionCall()