SharedObject: delete unused methods

None of the derived classes use them, none shall have to explicitly delete them.
This commit is contained in:
Alexander A. Klimov 2025-05-23 15:47:02 +02:00
parent a65f2d6b41
commit 4f351f625f

View File

@ -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;