Skip to content

Commit

Permalink
Try to fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 28, 2020
1 parent 41c91bb commit edfdbdb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions python/core/auto_generated/qgsruntimeprofiler.sip.in
Expand Up @@ -36,6 +36,7 @@ Constructor to create a new runtime profiler.
QgsRuntimeProfiler is not usually instantied manually, but rather accessed
through :py:func:`QgsApplication.profiler()`.
%End
~QgsRuntimeProfiler();

void beginGroup( const QString &name ) /Deprecated/;
%Docstring
Expand Down
6 changes: 4 additions & 2 deletions src/core/qgsruntimeprofiler.cpp
Expand Up @@ -33,6 +33,8 @@ QgsRuntimeProfilerNode::QgsRuntimeProfilerNode( const QString &group, const QStr

}

QgsRuntimeProfilerNode::~QgsRuntimeProfilerNode() = default;

QStringList QgsRuntimeProfilerNode::fullParentPath() const
{
QStringList res;
Expand All @@ -46,8 +48,6 @@ QStringList QgsRuntimeProfilerNode::fullParentPath() const
return res;
}

QgsRuntimeProfilerNode::~QgsRuntimeProfilerNode() = default;

QVariant QgsRuntimeProfilerNode::data( int role ) const
{
switch ( role )
Expand Down Expand Up @@ -160,6 +160,8 @@ QgsRuntimeProfiler::QgsRuntimeProfiler()

}

QgsRuntimeProfiler::~QgsRuntimeProfiler() = default;

QgsRuntimeProfiler *QgsRuntimeProfiler::threadLocalInstance()
{
static QThreadStorage<QgsRuntimeProfiler> sInstances;
Expand Down
1 change: 1 addition & 0 deletions src/core/qgsruntimeprofiler.h
Expand Up @@ -178,6 +178,7 @@ class CORE_EXPORT QgsRuntimeProfiler : public QAbstractItemModel
* through QgsApplication::profiler().
*/
QgsRuntimeProfiler();
~QgsRuntimeProfiler() override;

/**
* \brief Begin the group for the profiler. Groups will append {GroupName}/ to the
Expand Down

0 comments on commit edfdbdb

Please sign in to comment.