[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - include/comphelper
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 29 08:37:40 UTC 2021
include/comphelper/profilezone.hxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 27c89553b3a02a8d00b19d0a2e305553e270348a
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Apr 27 09:49:21 2021 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Apr 29 10:37:03 2021 +0200
Make ProfileZone non-copyable
Change-Id: Ia1fe5311751bcb2b2f2bde3408aac836db75e98a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114791
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/include/comphelper/profilezone.hxx b/include/comphelper/profilezone.hxx
index 8ed591852807..bd54667b1980 100644
--- a/include/comphelper/profilezone.hxx
+++ b/include/comphelper/profilezone.hxx
@@ -70,6 +70,7 @@ class COMPHELPER_DLLPUBLIC ProfileZone : public TraceEvent
startConsole();
}
}
+
~ProfileZone()
{
if (s_bRecording)
@@ -83,6 +84,9 @@ class COMPHELPER_DLLPUBLIC ProfileZone : public TraceEvent
}
}
+ ProfileZone(const ProfileZone&) = delete;
+ void operator=(const ProfileZone&) = delete;
+
static void startRecording();
static void stopRecording();
More information about the Libreoffice-commits
mailing list