mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-04 05:15:51 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -42,7 +42,7 @@ CConnectionHandler::~CConnectionHandler()
|
||||
{
|
||||
if (mConnection)
|
||||
{
|
||||
mConnection->SetHandler(NULL);
|
||||
mConnection->SetHandler(nullptr);
|
||||
mConnection->Disconnect();
|
||||
mConnection->Release();
|
||||
}
|
||||
@@ -79,7 +79,7 @@ void CConnectionHandler::OnTerminated(UdpConnection *)
|
||||
|
||||
if (mConnection)
|
||||
{
|
||||
mConnection->SetHandler(NULL);
|
||||
mConnection->SetHandler(nullptr);
|
||||
mConnection->Release();
|
||||
mConnection = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user