Disallow accidental copy construction

This commit is contained in:
Eelco Dolstra 2017-08-21 12:00:41 +02:00
parent 37db080644
commit 9400cb36b7
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -81,6 +81,8 @@ struct Activity
Activity(Logger & logger, ActivityType type, const std::string & s = "");
Activity(const Activity & act) = delete;
~Activity()
{ logger.stopActivity(id); }