mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
Disallow accidental copy construction
This commit is contained in:
parent
37db080644
commit
9400cb36b7
1 changed files with 2 additions and 0 deletions
|
@ -81,6 +81,8 @@ struct Activity
|
||||||
|
|
||||||
Activity(Logger & logger, ActivityType type, const std::string & s = "");
|
Activity(Logger & logger, ActivityType type, const std::string & s = "");
|
||||||
|
|
||||||
|
Activity(const Activity & act) = delete;
|
||||||
|
|
||||||
~Activity()
|
~Activity()
|
||||||
{ logger.stopActivity(id); }
|
{ logger.stopActivity(id); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue