ReBojour
J'ai un problème avec un warning que je ne comprend pas:
Voici le warning :
feature.h: In constructor ‘recotex::Feature::Feature(real, real)’:
feature.h:114: attention : ‘recotex::Feature::m_weight’ will be initialized after
feature.h:110: attention : ‘int recotex::Feature::ind_orientation’
feature.h:124: attention : when initialized here
sachant que ma classe feature à les attribut suivant:
protected:
real m_orientation;
real m_scale;
int ind_orientation;
int ind_scale;
int type;
real m_weight;
et que le constructeur en question est :
inline Feature::Feature( real o, real s, real w )
: m_orientation( o ), m_scale( s ), m_weight( w ), ind_orientation(0),ind_scale(0)
{}
Je ne comprend vraiment pas le Warning.
Pouvez vous m'aider
D'avance merci
Partager