common: Make SyncableObject non-copyable
[quassel.git] / src / common / syncableobject.h
index 3e371c2..c216302 100644 (file)
@@ -58,7 +58,6 @@ class COMMON_EXPORT SyncableObject : public QObject
 public:
     SyncableObject(QObject* parent = nullptr);
     SyncableObject(const QString& objectName, QObject* parent = nullptr);
-    SyncableObject(const SyncableObject& other, QObject* parent = nullptr);
     ~SyncableObject() override;
 
     //! Stores the object's state into a QVariantMap.
@@ -94,8 +93,6 @@ public slots:
 protected:
     void sync_call__(SignalProxy::ProxyMode modeType, const char* funcname, ...) const;
 
-    SyncableObject& operator=(const SyncableObject& other);
-
 signals:
     void initDone();
     void updatedRemotely();