diff --git a/Core/Instrument/DetectorContext.h b/Core/Instrument/DetectorContext.h index fcbc2513aec1860627b69c9bb79f97dcd9215400..bd68c8943c7ad7d89f1eb583bc96e3a8e026ee82 100644 --- a/Core/Instrument/DetectorContext.h +++ b/Core/Instrument/DetectorContext.h @@ -30,6 +30,10 @@ class BA_CORE_API_ DetectorContext { public: DetectorContext(const IDetector2D* detector); + + DetectorContext(const DetectorContext& other) = delete; + DetectorContext& operator=(const DetectorContext& other) = delete; + size_t numberOfSimulationElements() const; std::unique_ptr<IPixel> createPixel(size_t element_index) const;