geo NULL to nullptr (#242)

This commit is contained in:
Daniel Agar 2017-02-25 15:27:00 -05:00 committed by GitHub
parent 0d77470efc
commit 507f48a147
1 changed files with 3 additions and 3 deletions

View File

@ -339,11 +339,11 @@ int map_projection_global_getref(double *lat_0, double *lon_0)
return -1;
}
if (lat_0 != NULL) {
if (lat_0 != nullptr) {
*lat_0 = M_RAD_TO_DEG * mp_ref.lat_rad;
}
if (lon_0 != NULL) {
if (lon_0 != nullptr) {
*lon_0 = M_RAD_TO_DEG * mp_ref.lon_rad;
}
@ -403,7 +403,7 @@ int globallocalconverter_getref(double *lat_0, double *lon_0, float *alt_0)
return -1;
}
if (alt_0 != NULL) {
if (alt_0 != nullptr) {
*alt_0 = gl_ref.alt;
}