Use C++ language supported 'nullptr' (#13944)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2019-05-09 11:45:55 -05:00
1 parent e53d7e5517
commit ad4ffa1d2f
70 files changed
+670 -668

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ void GcodeSuite::M421() {
hasQ = !hasZ && parser.seen('Q');
if (hasC) {
const mesh_index_pair location = ubl.find_closest_mesh_point_of_type(REAL, current_position[X_AXIS], current_position[Y_AXIS], USE_NOZZLE_AS_REFERENCE, NULL);
const mesh_index_pair location = ubl.find_closest_mesh_point_of_type(REAL, current_position[X_AXIS], current_position[Y_AXIS], USE_NOZZLE_AS_REFERENCE, nullptr);
ix = location.x_index;
iy = location.y_index;
}