Compile Error

In file included from /in/Compile/dlist_pre.cpp:2:
In file included from /in/Compile/dlist.h:78:
/in/dlist_impl.h:36:5: error: 'auto' deduced as 'Dlist<int>::node *' in declaration of 'np' and deduced as 'int *' in declaration of 'op'
    auto np = first, op = first->op;
    ^         ~~~~~       ~~~~~~~~~
/in/dlist_impl.h:88:16: note: in instantiation of member function 'Dlist<int>::removeFront' requested here
        delete removeFront();
               ^
/in/dlist_impl.h:82:5: note: in instantiation of member function 'Dlist<int>::removeAll' requested here
    removeAll();
    ^
/in/Compile/dlist_pre.cpp:10:16: note: in instantiation of member function 'Dlist<int>::~Dlist' requested here
    Dlist<int> ilist;
               ^
1 error generated.
/in/Compile/Makefile:29: recipe for target 'buildDlistPretest' failed
make: *** [buildDlistPretest] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List Stack and Queue
Language
C++
Submit At
2019-07-31 14:10:36
Judged At
2019-07-31 14:10:36
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes