Record Detail

Compile Error

/in/call.cpp:135:27: error: no matching constructor for initialization of 'event'
        event* temp = new event({tick, name, status, duration});
                          ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/call.cpp:23:8: note: candidate constructor (the implicit copy constructor) not viable: cannot convert initializer list argument to 'const event'
struct event{
       ^
/in/call.cpp:23:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 1 was provided
1 error generated.
/in/Compile/Makefile:39: recipe for target 'buildCall' failed
make: *** [buildCall] Error 1

Information

Submit By
Type
Submission
Homework
Project Five: List, Stack, and Queue
Language
C++
Submit At
2020-12-12 23:53:01
Judged At
2020-12-12 23:53:01
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes