From 56474136e6d8f1eced155bdf5c58ba7d7954bdeb Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Mon, 23 May 2022 17:50:16 +0200 Subject: [PATCH] rm unused --- GUI/Model/Device/Instrument.cpp | 5 ----- GUI/Model/Device/Instrument.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/GUI/Model/Device/Instrument.cpp b/GUI/Model/Device/Instrument.cpp index 7abf6178cc0..72d601a62bb 100644 --- a/GUI/Model/Device/Instrument.cpp +++ b/GUI/Model/Device/Instrument.cpp @@ -23,11 +23,6 @@ Instrument::Instrument(const Beam& beam, const IDetector& detector) { } -Instrument::Instrument() - : Instrument(Beam::horizontalBeam(), SphericalDetector()) -{ -} - Instrument::Instrument(const Instrument& other) : Instrument(other.beam(), other.detector()) { diff --git a/GUI/Model/Device/Instrument.h b/GUI/Model/Device/Instrument.h index defa70f597b..dd0dbc337f0 100644 --- a/GUI/Model/Device/Instrument.h +++ b/GUI/Model/Device/Instrument.h @@ -17,18 +17,15 @@ #define BORNAGAIN_GUI_MODEL_DEVICE_INSTRUMENT_H #include "Param/Node/INode.h" -#include <heinz/Vectors3D.h> #include <memory> class Beam; -class CoordSystem2D; class IDetector; //! Assembles beam, detector and their relative positions with respect to the sample. class Instrument : public INode { public: - Instrument(); Instrument(const Beam& beam, const IDetector& detector); Instrument(const Instrument& other); ~Instrument() override; -- GitLab