|
|
g++ Main.cpp In file included from graphType.h:16:0, from weightedGraph.h:17, from Main.cpp:3: unorderedLinkedList.h: In member function ‘bool unorderedLinkedList<Type>::search(const Type&) const’: unorderedLinkedList.h:54:15: error: ‘first’ was not declared in this scope unorderedLinkedList.h: In member function ‘void unorderedLinkedList<Type>::insertFirst(const Type&)’: unorderedLinkedList.h:74:21: error: ‘first’ was not declared in this scope unorderedLinkedList.h:77:5: error: ‘count’ was not declared in this scope unorderedLinkedList.h:79:9: error: ‘last’ was not declared in this scope unorderedLinkedList.h: In member function ‘void unorderedLinkedList<Type>::insertLast(const Type&)’: ... |
this->
when needed. Maybe is a compiler issue.