diff --git a/GUI/Model/Descriptor/DoubleProperty.h b/GUI/Model/Descriptor/DoubleProperty.h index fe4aa0af2b3c44d34b57d452d443baa091dffdf4..dd8d84b411f3ca8829d6f5222da02a44d5afc2b6 100644 --- a/GUI/Model/Descriptor/DoubleProperty.h +++ b/GUI/Model/Descriptor/DoubleProperty.h @@ -19,7 +19,6 @@ #include <QList> #include <QString> #include <QXmlStreamReader> -#include <variant> //! Class for representing a double value, its attributes and its accessors. //! diff --git a/GUI/Model/Detector/ResolutionFunctionItems.h b/GUI/Model/Detector/ResolutionFunctionItems.h index 582938c851a734a78b78222088968e2c1b495563..22665e1f20f07e53e0b7d4a4aae60270bec18553 100644 --- a/GUI/Model/Detector/ResolutionFunctionItems.h +++ b/GUI/Model/Detector/ResolutionFunctionItems.h @@ -17,7 +17,6 @@ #include "GUI/Model/Descriptor/DoubleProperty.h" #include <memory> -#include <variant> class IResolutionFunction2D; diff --git a/GUI/Model/Model/ParameterTreeUtil.h b/GUI/Model/Model/ParameterTreeUtil.h index 33d418a99e72c3bf04d0c1c37493f5c7c2c38add..11c6fa8f7b2b837714e9c2d157d70852ade261e3 100644 --- a/GUI/Model/Model/ParameterTreeUtil.h +++ b/GUI/Model/Model/ParameterTreeUtil.h @@ -18,7 +18,6 @@ #include <QPair> #include <QString> #include <functional> -#include <variant> class BackgroundItem; class BeamDistributionItem; diff --git a/GUI/Model/Sample/MaterialItem.h b/GUI/Model/Sample/MaterialItem.h index 7e016fffc84a5e5b629279211bbd08702e32dbaa..1937025b355d85d049878ad6cfdc30fa83b9d9bb 100644 --- a/GUI/Model/Sample/MaterialItem.h +++ b/GUI/Model/Sample/MaterialItem.h @@ -22,7 +22,6 @@ #include <heinz/Complex.h> #include <heinz/Vectors3D.h> #include <memory> -#include <variant> class Material; diff --git a/GUI/View/Numeric/NumWidgetUtil.h b/GUI/View/Numeric/NumWidgetUtil.h index 1250b54c891ede24c991777f5053fb2c5d25bc66..d7f9a5d150987e053c20854ef5ca0a95edeffa54 100644 --- a/GUI/View/Numeric/NumWidgetUtil.h +++ b/GUI/View/Numeric/NumWidgetUtil.h @@ -19,12 +19,10 @@ #include <QCheckBox> #include <QFormLayout> #include <QSpinBox> -#include <variant> class DoubleSpinBox; class DoubleProperty; class ScientificSpinBox; -enum class Unit; namespace GUI::Util { diff --git a/Resample/Slice/ProfileHelper.h b/Resample/Slice/ProfileHelper.h index 1c6fcf3cce7e6100db4fe79a8f0803fec460b034..69b4b5884045f43fd9f282d8cd429780bf2a4920 100644 --- a/Resample/Slice/ProfileHelper.h +++ b/Resample/Slice/ProfileHelper.h @@ -21,7 +21,6 @@ #include "Resample/Slice/SliceStack.h" #include "Sample/Material/Material.h" #include <utility> -#include <variant> #include <vector> //! Object that can generate the material profile of a sample as a function of depth. @@ -34,7 +33,6 @@ public: ProfileHelper(const SliceStack& stack); ~ProfileHelper() = default; - std::vector<complex_t> calculateSLDProfile(const std::vector<double>& z_values) const; std::vector<double> calculateMagnetizationProfile(const std::vector<double>& z_values, std::string xyz) const;