Skip to content
Snippets Groups Projects

rm sone unused code

Merged Wuttke, Joachim requested to merge covclean into main
11 files
+ 19
43
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 0
17
@@ -42,23 +42,6 @@ Beam::Beam(const Beam& other)
m_shape_factor.reset(other.m_shape_factor->clone());
}
Beam& Beam::operator=(const Beam& other)
{
if (&other == this)
return *this;
m_intensity = other.m_intensity;
m_wavelength = other.m_wavelength;
// m_direction = other.m_direction;
m_alpha = other.m_alpha;
m_phi = other.m_phi;
m_beamPolarization = other.m_beamPolarization;
if (other.m_shape_factor)
m_shape_factor.reset(other.m_shape_factor->clone());
else
m_shape_factor.release();
return *this;
}
Beam::~Beam() = default;
Beam* Beam::clone() const
Loading