mirror of https://github.com/Icinga/icinga2.git
Timeout: explicitly delete #Timeout(const Timeout&), #Timeout(Timeout&&), #operator=(const Timeout&), #operator=(Timeout&&)
This commit is contained in:
parent
27e0e236cb
commit
3ca7ff7bf4
|
@ -187,6 +187,11 @@ public:
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Timeout(const Timeout&) = delete;
|
||||||
|
Timeout(Timeout&&) = delete;
|
||||||
|
Timeout& operator=(const Timeout&) = delete;
|
||||||
|
Timeout& operator=(Timeout&&) = delete;
|
||||||
|
|
||||||
~Timeout()
|
~Timeout()
|
||||||
{
|
{
|
||||||
Cancel();
|
Cancel();
|
||||||
|
|
Loading…
Reference in New Issue