From cf6804fcce4144b8ce7c91cd9309ff7884497d71 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 6 Dec 2019 11:25:24 -0600 Subject: [PATCH] ssynth: Fix warning about conversion of 0 to nullptr --- .../ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp b/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp index 65c66dbe1..14715d620 100644 --- a/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp +++ b/src/external/structuresynth-1.5/ssynth/SyntopiaCore/GLEngine/Raytracer/VoxelStepper.cpp @@ -122,7 +122,7 @@ namespace SyntopiaCore { currentT = p; // We do not intersect grid. - if (!found) return 0; //nullptr; + if (!found) return nullptr; } stepX = (dir.x() > 0) ? 1 : -1;