aboutsummaryrefslogtreecommitdiff
path: root/src/pj_units.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2018-12-18 21:31:28 +0100
committerEven Rouault <even.rouault@spatialys.com>2018-12-26 10:08:53 +0100
commit8211f48b1ac6c941f46a8f2df90bdbfdcbc85981 (patch)
tree1cd5751c91202070ba3ab6fbbbfbeb7832b980fc /src/pj_units.cpp
parent919dc5ca50839541568ef5c0f18f2156d639beef (diff)
downloadPROJ-8211f48b1ac6c941f46a8f2df90bdbfdcbc85981.tar.gz
PROJ-8211f48b1ac6c941f46a8f2df90bdbfdcbc85981.zip
cpp conversion: fix zero-as-null-pointer-constant warnings
Diffstat (limited to 'src/pj_units.cpp')
-rw-r--r--src/pj_units.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pj_units.cpp b/src/pj_units.cpp
index 877758a3..50f11396 100644
--- a/src/pj_units.cpp
+++ b/src/pj_units.cpp
@@ -33,7 +33,7 @@ pj_units[] = {
{"ind-yd", "0.91439523", "Indian Yard", 0.91439523},
{"ind-ft", "0.30479841", "Indian Foot", 0.30479841},
{"ind-ch", "20.11669506", "Indian Chain", 20.11669506},
- {NULL, NULL, NULL, 0.0}
+ {nullptr, nullptr, nullptr, 0.0}
};
const PJ_UNITS *proj_list_units()
@@ -49,7 +49,7 @@ pj_angular_units[] = {
{"rad", "1.0", "Radian", 1.0},
{"deg", "0.017453292519943296", "Degree", DEG_TO_RAD},
{"grad", "0.015707963267948967", "Grad", GRAD_TO_RAD},
- {NULL, NULL, NULL, 0.0}
+ {nullptr, nullptr, nullptr, 0.0}
};
const PJ_UNITS *proj_list_angular_units()