madelgj / memoryleak

0 stars 0 forks source link

Comment not recognized as a type #4

Closed madelgj closed 3 years ago

madelgj commented 3 years ago

Inside class Answer, Comment is not recognized as a type. /Answer.hpp:20: error: ‘Comment’ does not name a type Comment* removeComment(const int &id); ^~~~~~~ /Answer.hpp:21: error: ‘Comment’ was not declared in this scope vector<Comment *> getComments() const; ^~~~~~~

DiegoGarciaX2 commented 3 years ago

Arreglado, se estaban incluyendo varias veces la misma clase