Cleanup: [ContentInfo] Remove some functions that are not needed anymore

This commit is contained in:
rubidium42
2021-05-30 13:12:00 +02:00
committed by rubidium42
parent e3717ae903
commit e2417193c9
3 changed files with 16 additions and 48 deletions

View File

@@ -150,9 +150,8 @@ bool ClientNetworkContentSocketHandler::Receive_SERVER_INFO(Packet *p)
* As ici might be selected by the content window we cannot delete that.
* However, we want to keep most of the values of ci, except the values
* we (just) already preserved.
* So transfer data and ownership of allocated memory from ci to ici.
*/
ici->TransferFrom(ci);
*ici = *ci;
delete ci;
this->OnReceiveContentInfo(ici);