about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libutil/logging.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/logging.hh b/src/libutil/logging.hh
index 1e0c735676b6..08a11617591e 100644
--- a/src/libutil/logging.hh
+++ b/src/libutil/logging.hh
@@ -81,6 +81,8 @@ struct Activity
 
     Activity(Logger & logger, ActivityType type, const std::string & s = "");
 
+    Activity(const Activity & act) = delete;
+
     ~Activity()
     { logger.stopActivity(id); }