mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -31,7 +31,7 @@ struct Emitter::ReceiverList
|
||||
Emitter::Emitter() :
|
||||
receiverList(new ReceiverList)
|
||||
{
|
||||
assert (receiverList != NULL);
|
||||
assert (receiverList != nullptr);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
@@ -33,7 +33,7 @@ Receiver::Receiver() :
|
||||
emitterTargets(new EmitterTargets),
|
||||
hasTargets(false)
|
||||
{
|
||||
assert(emitterTargets != NULL);
|
||||
assert(emitterTargets != nullptr);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user