summaryrefslogtreecommitdiffstats
path: root/src/perspective-line.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/perspective-line.cpp')
-rw-r--r--src/perspective-line.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perspective-line.cpp b/src/perspective-line.cpp
index cf40e4c60..50770d857 100644
--- a/src/perspective-line.cpp
+++ b/src/perspective-line.cpp
@@ -16,7 +16,7 @@ namespace Box3D {
PerspectiveLine::PerspectiveLine (Geom::Point const &pt, Proj::Axis const axis, Persp3D *persp) :
Line (pt, persp3d_get_VP(persp, axis).affine(), true)
{
- g_assert (persp != NULL);
+ g_assert (persp != nullptr);
if (!persp3d_get_VP(persp, axis).is_finite()) {
Proj::Pt2 vp(persp3d_get_VP(persp, axis));