From 1ca883159f17eddd6425a3bd8cc2c54dc3dd0b36 Mon Sep 17 00:00:00 2001 From: MFraters Date: Wed, 28 Feb 2024 01:13:12 -0500 Subject: [PATCH] Remove unused header files. --- .../features/continental_plate_models/composition/random.cc | 4 ---- .../features/continental_plate_models/composition/uniform.cc | 3 --- .../grains/random_uniform_distribution.cc | 3 --- .../grains/random_uniform_distribution_deflected.cc | 3 --- .../features/continental_plate_models/grains/uniform.cc | 2 -- .../continental_plate_models/temperature/adiabatic.cc | 3 --- .../features/continental_plate_models/temperature/linear.cc | 2 -- .../features/continental_plate_models/temperature/uniform.cc | 3 --- source/world_builder/features/mantle_layer.cc | 1 - .../features/mantle_layer_models/temperature/uniform.cc | 1 - source/world_builder/features/oceanic_plate.cc | 1 - .../features/oceanic_plate_models/composition/uniform.cc | 3 --- .../grains/random_uniform_distribution.cc | 2 -- .../grains/random_uniform_distribution_deflected.cc | 2 -- .../features/oceanic_plate_models/grains/uniform.cc | 1 - .../features/oceanic_plate_models/temperature/adiabatic.cc | 2 -- .../oceanic_plate_models/temperature/half_space_model.cc | 1 - .../features/oceanic_plate_models/temperature/linear.cc | 3 --- .../features/oceanic_plate_models/temperature/plate_model.cc | 2 -- .../temperature/plate_model_constant_age.cc | 3 --- .../features/oceanic_plate_models/temperature/uniform.cc | 3 --- source/world_builder/features/plume.cc | 2 -- .../features/plume_models/composition/uniform.cc | 3 --- source/world_builder/features/plume_models/grains/uniform.cc | 2 -- .../features/plume_models/temperature/gaussian.cc | 2 -- .../features/plume_models/temperature/uniform.cc | 3 --- source/world_builder/objects/bezier_curve.cc | 1 - source/world_builder/objects/surface.cc | 1 - source/world_builder/types/segment.cc | 1 - 29 files changed, 63 deletions(-) diff --git a/source/world_builder/features/continental_plate_models/composition/random.cc b/source/world_builder/features/continental_plate_models/composition/random.cc index 4fb91e3ac..d25267e7f 100644 --- a/source/world_builder/features/continental_plate_models/composition/random.cc +++ b/source/world_builder/features/continental_plate_models/composition/random.cc @@ -28,13 +28,9 @@ #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" #include "world_builder/world.h" -#include "world_builder/utilities.h" -#include #include -#include "world_builder/kd_tree.h" - namespace WorldBuilder { diff --git a/source/world_builder/features/continental_plate_models/composition/uniform.cc b/source/world_builder/features/continental_plate_models/composition/uniform.cc index 6913d5436..8e612a0a9 100644 --- a/source/world_builder/features/continental_plate_models/composition/uniform.cc +++ b/source/world_builder/features/continental_plate_models/composition/uniform.cc @@ -27,9 +27,6 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" - -#include "world_builder/kd_tree.h" namespace WorldBuilder diff --git a/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution.cc b/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution.cc index 7db823110..a9c64de0d 100644 --- a/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution.cc +++ b/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution.cc @@ -29,11 +29,8 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" -#include "world_builder/kd_tree.h" - namespace WorldBuilder { using namespace Utilities; diff --git a/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution_deflected.cc b/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution_deflected.cc index 9b9643310..93c68a217 100644 --- a/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution_deflected.cc +++ b/source/world_builder/features/continental_plate_models/grains/random_uniform_distribution_deflected.cc @@ -29,11 +29,8 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" -#include "world_builder/kd_tree.h" - namespace WorldBuilder { using namespace Utilities; diff --git a/source/world_builder/features/continental_plate_models/grains/uniform.cc b/source/world_builder/features/continental_plate_models/grains/uniform.cc index 78c8b7310..3af10f35e 100644 --- a/source/world_builder/features/continental_plate_models/grains/uniform.cc +++ b/source/world_builder/features/continental_plate_models/grains/uniform.cc @@ -29,8 +29,6 @@ #include "world_builder/types/value_at_points.h" #include "world_builder/utilities.h" -#include "world_builder/kd_tree.h" - namespace WorldBuilder { diff --git a/source/world_builder/features/continental_plate_models/temperature/adiabatic.cc b/source/world_builder/features/continental_plate_models/temperature/adiabatic.cc index 70cd83344..cb7e91dd9 100644 --- a/source/world_builder/features/continental_plate_models/temperature/adiabatic.cc +++ b/source/world_builder/features/continental_plate_models/temperature/adiabatic.cc @@ -26,11 +26,8 @@ #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" -#include "world_builder/kd_tree.h" - namespace WorldBuilder { using namespace Utilities; diff --git a/source/world_builder/features/continental_plate_models/temperature/linear.cc b/source/world_builder/features/continental_plate_models/temperature/linear.cc index 2f47c2470..f5bc2e0b6 100644 --- a/source/world_builder/features/continental_plate_models/temperature/linear.cc +++ b/source/world_builder/features/continental_plate_models/temperature/linear.cc @@ -26,10 +26,8 @@ #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" -#include "world_builder/kd_tree.h" namespace WorldBuilder { diff --git a/source/world_builder/features/continental_plate_models/temperature/uniform.cc b/source/world_builder/features/continental_plate_models/temperature/uniform.cc index cbd4db685..cc6d96162 100644 --- a/source/world_builder/features/continental_plate_models/temperature/uniform.cc +++ b/source/world_builder/features/continental_plate_models/temperature/uniform.cc @@ -26,9 +26,6 @@ #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" - -#include "world_builder/kd_tree.h" namespace WorldBuilder { diff --git a/source/world_builder/features/mantle_layer.cc b/source/world_builder/features/mantle_layer.cc index fc1d564e1..4217ad1ba 100644 --- a/source/world_builder/features/mantle_layer.cc +++ b/source/world_builder/features/mantle_layer.cc @@ -24,7 +24,6 @@ #include "world_builder/features/mantle_layer_models/grains/interface.h" #include "world_builder/features/mantle_layer_models/temperature/interface.h" #include "world_builder/features/feature_utilities.h" -#include "world_builder/kd_tree.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" #include "world_builder/types/object.h" diff --git a/source/world_builder/features/mantle_layer_models/temperature/uniform.cc b/source/world_builder/features/mantle_layer_models/temperature/uniform.cc index 02d0b1689..54dfedf88 100644 --- a/source/world_builder/features/mantle_layer_models/temperature/uniform.cc +++ b/source/world_builder/features/mantle_layer_models/temperature/uniform.cc @@ -26,7 +26,6 @@ #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" namespace WorldBuilder diff --git a/source/world_builder/features/oceanic_plate.cc b/source/world_builder/features/oceanic_plate.cc index 9a7de940c..4a078af04 100644 --- a/source/world_builder/features/oceanic_plate.cc +++ b/source/world_builder/features/oceanic_plate.cc @@ -23,7 +23,6 @@ #include "world_builder/features/oceanic_plate_models/grains/interface.h" #include "world_builder/features/oceanic_plate_models/temperature/interface.h" #include "world_builder/features/feature_utilities.h" -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" diff --git a/source/world_builder/features/oceanic_plate_models/composition/uniform.cc b/source/world_builder/features/oceanic_plate_models/composition/uniform.cc index 722d056c2..1fec80468 100644 --- a/source/world_builder/features/oceanic_plate_models/composition/uniform.cc +++ b/source/world_builder/features/oceanic_plate_models/composition/uniform.cc @@ -19,8 +19,6 @@ #include "world_builder/features/oceanic_plate_models/composition/uniform.h" - -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" @@ -28,7 +26,6 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" namespace WorldBuilder diff --git a/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution.cc b/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution.cc index ae3de62fc..1c9b5b714 100644 --- a/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution.cc +++ b/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution.cc @@ -21,7 +21,6 @@ #include -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/bool.h" @@ -30,7 +29,6 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" namespace WorldBuilder diff --git a/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution_deflected.cc b/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution_deflected.cc index ee9eb1a80..0fd293a62 100644 --- a/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution_deflected.cc +++ b/source/world_builder/features/oceanic_plate_models/grains/random_uniform_distribution_deflected.cc @@ -21,7 +21,6 @@ #include -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/bool.h" @@ -30,7 +29,6 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" namespace WorldBuilder diff --git a/source/world_builder/features/oceanic_plate_models/grains/uniform.cc b/source/world_builder/features/oceanic_plate_models/grains/uniform.cc index c94783764..dc1430e48 100644 --- a/source/world_builder/features/oceanic_plate_models/grains/uniform.cc +++ b/source/world_builder/features/oceanic_plate_models/grains/uniform.cc @@ -20,7 +20,6 @@ #include "world_builder/features/oceanic_plate_models/grains/uniform.h" -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" diff --git a/source/world_builder/features/oceanic_plate_models/temperature/adiabatic.cc b/source/world_builder/features/oceanic_plate_models/temperature/adiabatic.cc index b54e5f71e..a643ddf00 100644 --- a/source/world_builder/features/oceanic_plate_models/temperature/adiabatic.cc +++ b/source/world_builder/features/oceanic_plate_models/temperature/adiabatic.cc @@ -20,14 +20,12 @@ #include "world_builder/features/oceanic_plate_models/temperature/adiabatic.h" -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" diff --git a/source/world_builder/features/oceanic_plate_models/temperature/half_space_model.cc b/source/world_builder/features/oceanic_plate_models/temperature/half_space_model.cc index 47fb92b70..8af04b205 100644 --- a/source/world_builder/features/oceanic_plate_models/temperature/half_space_model.cc +++ b/source/world_builder/features/oceanic_plate_models/temperature/half_space_model.cc @@ -21,7 +21,6 @@ #include "world_builder/consts.h" -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" diff --git a/source/world_builder/features/oceanic_plate_models/temperature/linear.cc b/source/world_builder/features/oceanic_plate_models/temperature/linear.cc index 51642cd6f..259c57ca1 100644 --- a/source/world_builder/features/oceanic_plate_models/temperature/linear.cc +++ b/source/world_builder/features/oceanic_plate_models/temperature/linear.cc @@ -19,15 +19,12 @@ #include "world_builder/features/oceanic_plate_models/temperature/linear.h" - -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" diff --git a/source/world_builder/features/oceanic_plate_models/temperature/plate_model.cc b/source/world_builder/features/oceanic_plate_models/temperature/plate_model.cc index 06e829edb..f6f1d467a 100644 --- a/source/world_builder/features/oceanic_plate_models/temperature/plate_model.cc +++ b/source/world_builder/features/oceanic_plate_models/temperature/plate_model.cc @@ -19,8 +19,6 @@ #include "world_builder/features/oceanic_plate_models/temperature/plate_model.h" - -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" diff --git a/source/world_builder/features/oceanic_plate_models/temperature/plate_model_constant_age.cc b/source/world_builder/features/oceanic_plate_models/temperature/plate_model_constant_age.cc index 263a57374..8688e6957 100644 --- a/source/world_builder/features/oceanic_plate_models/temperature/plate_model_constant_age.cc +++ b/source/world_builder/features/oceanic_plate_models/temperature/plate_model_constant_age.cc @@ -19,8 +19,6 @@ #include "world_builder/features/oceanic_plate_models/temperature/plate_model_constant_age.h" - -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" @@ -28,7 +26,6 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/point.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" diff --git a/source/world_builder/features/oceanic_plate_models/temperature/uniform.cc b/source/world_builder/features/oceanic_plate_models/temperature/uniform.cc index 6da3e73c7..51c2a86a6 100644 --- a/source/world_builder/features/oceanic_plate_models/temperature/uniform.cc +++ b/source/world_builder/features/oceanic_plate_models/temperature/uniform.cc @@ -19,15 +19,12 @@ #include "world_builder/features/oceanic_plate_models/temperature/uniform.h" - -#include "world_builder/kd_tree.h" #include "world_builder/nan.h" #include "world_builder/types/array.h" #include "world_builder/types/double.h" #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" namespace WorldBuilder diff --git a/source/world_builder/features/plume.cc b/source/world_builder/features/plume.cc index 655d9471c..ad29b7f13 100644 --- a/source/world_builder/features/plume.cc +++ b/source/world_builder/features/plume.cc @@ -33,8 +33,6 @@ #include "world_builder/types/value_at_points.h" #include "world_builder/world.h" -#include "world_builder/kd_tree.h" - #include #include diff --git a/source/world_builder/features/plume_models/composition/uniform.cc b/source/world_builder/features/plume_models/composition/uniform.cc index a861d9c22..70ef68d0c 100644 --- a/source/world_builder/features/plume_models/composition/uniform.cc +++ b/source/world_builder/features/plume_models/composition/uniform.cc @@ -27,9 +27,6 @@ #include "world_builder/types/one_of.h" #include "world_builder/types/unsigned_int.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" - -#include "world_builder/kd_tree.h" namespace WorldBuilder diff --git a/source/world_builder/features/plume_models/grains/uniform.cc b/source/world_builder/features/plume_models/grains/uniform.cc index 7c75dd585..d9b26ed2b 100644 --- a/source/world_builder/features/plume_models/grains/uniform.cc +++ b/source/world_builder/features/plume_models/grains/uniform.cc @@ -29,8 +29,6 @@ #include "world_builder/types/value_at_points.h" #include "world_builder/utilities.h" -#include "world_builder/kd_tree.h" - namespace WorldBuilder { diff --git a/source/world_builder/features/plume_models/temperature/gaussian.cc b/source/world_builder/features/plume_models/temperature/gaussian.cc index 9985b4d57..fa0febeed 100644 --- a/source/world_builder/features/plume_models/temperature/gaussian.cc +++ b/source/world_builder/features/plume_models/temperature/gaussian.cc @@ -20,11 +20,9 @@ #include "world_builder/features/plume_models/temperature/gaussian.h" -#include "world_builder/nan.h" #include "world_builder/types/double.h" #include "world_builder/types/object.h" #include "world_builder/types/array.h" -#include "world_builder/utilities.h" #include "world_builder/world.h" #include diff --git a/source/world_builder/features/plume_models/temperature/uniform.cc b/source/world_builder/features/plume_models/temperature/uniform.cc index d57bb5a45..dc6a71451 100644 --- a/source/world_builder/features/plume_models/temperature/uniform.cc +++ b/source/world_builder/features/plume_models/temperature/uniform.cc @@ -26,9 +26,6 @@ #include "world_builder/types/object.h" #include "world_builder/types/one_of.h" #include "world_builder/types/value_at_points.h" -#include "world_builder/utilities.h" - -#include "world_builder/kd_tree.h" namespace WorldBuilder { diff --git a/source/world_builder/objects/bezier_curve.cc b/source/world_builder/objects/bezier_curve.cc index 982f2d651..f8172d0fa 100644 --- a/source/world_builder/objects/bezier_curve.cc +++ b/source/world_builder/objects/bezier_curve.cc @@ -19,7 +19,6 @@ along with this program. If not, see . #include "world_builder/assert.h" #include "world_builder/nan.h" #include "world_builder/objects/bezier_curve.h" -#include "world_builder/utilities.h" #include #include diff --git a/source/world_builder/objects/surface.cc b/source/world_builder/objects/surface.cc index 223c645dc..45fa355f8 100644 --- a/source/world_builder/objects/surface.cc +++ b/source/world_builder/objects/surface.cc @@ -18,7 +18,6 @@ */ #include "world_builder/assert.h" #include "world_builder/objects/surface.h" -#include "world_builder/utilities.h" #include diff --git a/source/world_builder/types/segment.cc b/source/world_builder/types/segment.cc index 554e7c62c..1f629eb47 100644 --- a/source/world_builder/types/segment.cc +++ b/source/world_builder/types/segment.cc @@ -16,7 +16,6 @@ You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ -#include #include "world_builder/types/segment.h"