Skip to content
Snippets Groups Projects
Commit e099382b authored by Van Herck, Walter's avatar Van Herck, Walter
Browse files

Fix gcc warnings

parent 115ebba2
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,8 @@ IDetector::IDetector()
}
IDetector::IDetector(const IDetector& other)
: m_axes(other.m_axes)
: ICloneable()
, m_axes(other.m_axes)
, m_detection_properties(other.m_detection_properties)
{
if(other.mP_detector_resolution)
......
......@@ -54,7 +54,8 @@ RegionOfInterest *RegionOfInterest::clone() const
RegionOfInterest::~RegionOfInterest() {}
RegionOfInterest::RegionOfInterest(const RegionOfInterest &other)
: m_rectangle(other.m_rectangle->clone())
: ICloneable()
, m_rectangle(other.m_rectangle->clone())
, m_ax1(other.m_ax1)
, m_ay1(other.m_ay1)
, m_ax2(other.m_ax2)
......
......@@ -45,6 +45,7 @@ void Lattice2D::onChange()
}
Lattice2D::Lattice2D(const Lattice2D& other)
: ICloneable()
{
m_xi = other.m_xi;
setName(other.getName());
......
......@@ -45,7 +45,8 @@ Simulation::Simulation(const std::shared_ptr<IMultiLayerBuilder> p_sample_builde
}
Simulation::Simulation(const Simulation& other)
: m_sample_provider(other.m_sample_provider)
: ICloneable()
, m_sample_provider(other.m_sample_provider)
, m_options(other.m_options)
, m_distribution_handler(other.m_distribution_handler)
, m_progress(other.m_progress)
......
......@@ -5993,7 +5993,7 @@ SWIG_AsVal_std_complex_Sl_double_Sg_ (PyObject *o, std::complex<double>* val)
 
 
SWIGINTERNINLINE PyObject*
SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/usr/local/share/swig/3.0.8/typemaps/swigmacros.swg,104,%ifcplusplus@*/
SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/usr/share/swig3.0/typemaps/swigmacros.swg,104,%ifcplusplus@*/
 
const std::complex<double>&
 
......@@ -5627,7 +5627,7 @@ SWIG_AsVal_std_complex_Sl_double_Sg_ (PyObject *o, std::complex<double>* val)
 
 
SWIGINTERNINLINE PyObject*
SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/usr/local/share/swig/3.0.8/typemaps/swigmacros.swg,104,%ifcplusplus@*/
SWIG_From_std_complex_Sl_double_Sg_ (/*@SWIG:/usr/share/swig3.0/typemaps/swigmacros.swg,104,%ifcplusplus@*/
 
const std::complex<double>&
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment