Add missing copy constructor and assignment operators

This commit is contained in:
Roland Winklmeier
2018-08-07 14:41:40 +02:00
committed by Klaus Basan
parent 3774f2b60f
commit a36023f6d8
3 changed files with 19 additions and 6 deletions

View File

@@ -52,14 +52,15 @@ namespace BlackSimPlugin
//! Set the session name
void setSessionName(const QString &name) { m_sessionName = name; }
//! Copy assignment operator
CHostNode &operator=(const CHostNode &other);
private:
IDirectPlay8Address *m_hostAddress = nullptr;
DPN_APPLICATION_DESC m_appDesc;
QString m_sessionName;
IDirectPlay8Address *m_hostAddress = nullptr;
DPN_APPLICATION_DESC m_appDesc;
QString m_sessionName;
};
}
}
#endif //BLACKSIMPLUGIN_FS9_HOST_NODE_H
#endif //guard