summaryrefslogtreecommitdiff
path: root/include/comphelper/profilezone.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/profilezone.hxx')
-rw-r--r--include/comphelper/profilezone.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/profilezone.hxx b/include/comphelper/profilezone.hxx
index bddf313f62d2..22fe107a3bf1 100644
--- a/include/comphelper/profilezone.hxx
+++ b/include/comphelper/profilezone.hxx
@@ -51,6 +51,7 @@ class COMPHELPER_DLLPUBLIC ProfileZone : public TraceEvent
else
m_nCreateTime = 0;
}
+
~ProfileZone()
{
if (s_bRecording)
@@ -60,6 +61,9 @@ class COMPHELPER_DLLPUBLIC ProfileZone : public TraceEvent
}
}
+ ProfileZone(const ProfileZone&) = delete;
+ void operator=(const ProfileZone&) = delete;
+
static void startRecording();
static void stopRecording();