Disallow accidental copy construction
This commit is contained in:
parent
37db080644
commit
9400cb36b7
|
@ -81,6 +81,8 @@ struct Activity
|
|||
|
||||
Activity(Logger & logger, ActivityType type, const std::string & s = "");
|
||||
|
||||
Activity(const Activity & act) = delete;
|
||||
|
||||
~Activity()
|
||||
{ logger.stopActivity(id); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue