mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-27 17:57:30 -04:00
newer standards prefer nullptr over NULL - this is most of them but there are others too
This commit is contained in:
@@ -224,7 +224,7 @@ bool TargaFormat::loadImage(const char *filename, Image **image) const
|
||||
|
||||
if (!image)
|
||||
{
|
||||
REPORT_LOG(true, ("TargaFormat::loadImage(): null image pointer\n"));
|
||||
REPORT_LOG(true, ("TargaFormat::loadImage(): nullptr image pointer\n"));
|
||||
return false;
|
||||
}
|
||||
*image = 0;
|
||||
@@ -257,7 +257,7 @@ bool TargaFormat::loadImageReformat(const char *filename, Image **image, Image::
|
||||
|
||||
if (!image)
|
||||
{
|
||||
REPORT_LOG(true, ("TargaFormat::loadImage(): null image pointer\n"));
|
||||
REPORT_LOG(true, ("TargaFormat::loadImage(): nullptr image pointer\n"));
|
||||
return false;
|
||||
}
|
||||
*image = 0;
|
||||
|
||||
Reference in New Issue
Block a user