mercredi 5 août 2015

Field in container

class WeightedFace
{
    public:

        WeightedFace(const Face& face_,
            const milliseconds& delay = milliseconds(0), milliseconds weight = milliseconds(0))
            : face(face_)
            , lastDelay(delay), faceWeight(weight)
        {}

For this code I am getting error like- class ‘nfd::fw::WeightedFace’ does not have any field named ‘faceWeight’ . Don't know why this error is occuring just for faceWeight variable. Inputs please

Aucun commentaire:

Enregistrer un commentaire