mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
SharedObject: delete unused methods
None of the derived classes use them, none shall have to explicitly delete them.
This commit is contained in:
parent
a65f2d6b41
commit
4f351f625f
@ -31,23 +31,8 @@ protected:
|
||||
{
|
||||
}
|
||||
|
||||
inline SharedObject(const SharedObject&) : SharedObject()
|
||||
{
|
||||
}
|
||||
|
||||
inline SharedObject(SharedObject&&) : SharedObject()
|
||||
{
|
||||
}
|
||||
|
||||
inline SharedObject& operator=(const SharedObject&)
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
|
||||
inline SharedObject& operator=(SharedObject&&)
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
SharedObject(const SharedObject&) = delete;
|
||||
SharedObject& operator=(const SharedObject&) = delete;
|
||||
|
||||
inline virtual
|
||||
~SharedObject() = default;
|
||||
|
Loading…
x
Reference in New Issue
Block a user