use nullptr instead of NULL or 0 where applicable
This commit is contained in:
@ -39,6 +39,6 @@ Point* NewPoint(int type){
|
||||
case FIXEDPOINT : // A Fixed Point
|
||||
return new FixedPoint();
|
||||
default : // error
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user